Skip to content

Commit

Permalink
Fixes compilation errors on build 4275
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 23, 2024
1 parent 251e4a2 commit df05be8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Indicator.define.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
* Includes Indicator's defines.
*/

// Includes.
#include "Terminal.define.h"

#ifndef __MQL__
// Allows the preprocessor to include a header file when it is needed.
#pragma once
Expand Down
1 change: 1 addition & 0 deletions Order.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include "Std.h"
#include "String.mqh"
#include "SymbolInfo.mqh"
#include "Terminal.define.h"

/* Defines for backward compatibility. */

Expand Down
4 changes: 2 additions & 2 deletions Terminal.define.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@

#ifndef __MQL5__
#define ERR_USER_ARRAY_IS_EMPTY 1
#endif
#define ERR_USER_INVALID_ARG 2
#define ERR_USER_INVALID_BUFF_NUM 3
#define ERR_USER_INVALID_HANDLE 4
#define ERR_USER_ITEM_NOT_FOUND 5
#endif
#define ERR_USER_INVALID_ARG 2
#define ERR_USER_NOT_SUPPORTED 6
#define ERR_USER_ERROR_FIRST 65536 // User defined errors start with this code.

Expand Down

0 comments on commit df05be8

Please sign in to comment.