Mercurial > hg > dmlib
comparison src/dmres.c @ 1144:7842e977d3df
Use DM_WINDOWS check here instead of _WIN32.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 05 Mar 2015 02:35:21 +0200 |
parents | 320dcfd1bd75 |
children | 6f7503231c17 |
comparison
equal
deleted
inserted
replaced
1143:e7c3de96b6fd | 1144:7842e977d3df |
---|---|
319 }; | 319 }; |
320 #endif | 320 #endif |
321 | 321 |
322 | 322 |
323 // Some mingw/windows headers define these as macros, which is bad for us | 323 // Some mingw/windows headers define these as macros, which is bad for us |
324 #ifdef __WIN32 | 324 #ifdef DM_WINDOWS |
325 #undef ferror | 325 # undef ferror |
326 #undef feof | 326 # undef feof |
327 #endif | 327 #endif |
328 | 328 |
329 | 329 |
330 /* | 330 /* |
331 * PACK file routines | 331 * PACK file routines |