diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/StormPort.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/StormPort.h b/src/StormPort.h index 6773975..ee00db8 100644 --- a/src/StormPort.h +++ b/src/StormPort.h @@ -197,10 +197,6 @@ #define MAX_PATH 1024 #endif - #ifndef _countof - #define _countof(x) (sizeof(x) / sizeof(x[0])) - #endif - #define WINAPI #define FILE_BEGIN SEEK_SET @@ -257,6 +253,10 @@ #define ERROR_FILE_CORRUPT 1004 // No such error code under Linux #endif +#ifndef _countof + #define _countof(x) (sizeof(x) / sizeof(x[0])) +#endif + //----------------------------------------------------------------------------- // Swapping functions |