Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Try to fix clang build.
Browse files Browse the repository at this point in the history
  • Loading branch information
nekonomicon committed Jul 7, 2019
1 parent 93d1ed0 commit cf6647e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dlls/extdll.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ typedef int BOOL;
// Misc C-runtime library headers
#include "stdio.h"
#include "stdlib.h"
#include "stddef.h"
#include "math.h"

#if defined(__LP64__) || defined(__LLP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__)
Expand Down
2 changes: 1 addition & 1 deletion engine/eiface.h
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ typedef enum _fieldtypes
FIELD_TYPECOUNT // MUST BE LAST
} FIELDTYPE;

#if !defined(offsetof) && !defined(GNUC)
#if !defined(offsetof) && !defined(__GNUC__)
#define offsetof(s,m) (size_t)&(((s *)0)->m)
#endif

Expand Down

0 comments on commit cf6647e

Please sign in to comment.