Mercurial > projects > dstress
diff dstress.c @ 742:5906350b5048
fixed misplaced #endif for Windows systems
author | thomask |
---|---|
date | Sat, 12 Nov 2005 21:57:32 +0000 |
parents | d4edcc124e64 |
children | 0e3682dad93a |
line wrap: on
line diff
--- a/dstress.c Sat Nov 12 21:56:58 2005 +0000 +++ b/dstress.c Sat Nov 12 21:57:32 2005 +0000 @@ -97,6 +97,7 @@ #define snprintf _snprintf #ifndef INVALID_FILE_SIZE #define INVALID_FILE_SIZE (-1) +#endif /* not every STDLIB supports C99's "%z" for printf formating */ #ifdef win32 @@ -109,8 +110,6 @@ #endif #endif -#endif - #else #error neither POSIX nor MSWindows API detected #endif /* USE_WINDOWS else */