X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=platform%2Fwin32%2Ffunctions%2F_PDCLIB%2F_PDCLIB_seek.c;h=6bf53e9809780562e136cd94f83b5dcfe28c54cc;hb=c952424afa451bb4c2ca04510b2c3994909fbdcb;hp=e23cd3cbaf5af4ac71910663085487ca0f9d0fa7;hpb=ad3b973c52042b79674b7e8d4317df0ee24680db;p=pdclib.old diff --git a/platform/win32/functions/_PDCLIB/_PDCLIB_seek.c b/platform/win32/functions/_PDCLIB/_PDCLIB_seek.c index e23cd3c..6bf53e9 100644 --- a/platform/win32/functions/_PDCLIB/_PDCLIB_seek.c +++ b/platform/win32/functions/_PDCLIB/_PDCLIB_seek.c @@ -12,9 +12,11 @@ #include <_PDCLIB_glue.h> #include +#if _PDCLIB_C_MIN(2011) _Static_assert(SEEK_SET == FILE_BEGIN, "SEEK_SET is incorrect"); _Static_assert(SEEK_CUR == FILE_CURRENT, "SEEK_CUR is incorrect"); _Static_assert(SEEK_END == FILE_END, "SEEK_END is incorrect"); +#endif extern void _PDCLIB_w32errno( void ); _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t offset, int whence )