Skip to content

Commit

Permalink
Merge pull request #18310 from ghalliday/issue31301
Browse files Browse the repository at this point in the history
HPCC-31301 Remove macros from platform.h that can cause 3rd party compile problems

Reviewed-by: Jake Smith <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Feb 20, 2024
2 parents 1a127c6 + 9f7743e commit 23b9248
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions system/include/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ typedef int socklen_t;
#define _lclose _close
#define _lwrite _write
#define _lopen _open
#define DeleteFile(name) (unlink(name)==0)
inline bool DeleteFile(const char * name) { return unlink(name)==0; }
#define wvsprintf vsprintf
#define _close ::close
#define _stat stat
Expand All @@ -357,11 +357,7 @@ typedef int socklen_t;

#define TRUE 1
#define FALSE 0
//#define false FALSE
//#define true TRUE
#define HFILE int
//#define bool unsigned char
#define BOOL bool
#define UINT unsigned int
#define DWORD unsigned long
#define VOID void
Expand Down

0 comments on commit 23b9248

Please sign in to comment.