X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fcdrcimg%2Fcdrcimg.c;h=b3bee271835418dbed636715c890f1cf16185c59;hb=373bac9fe549511c0d2b156e6533dc81dbca1eec;hp=f1e077738d1b3618e1a5a45ac0f875a63184ee42;hpb=949ed5baf43dbb3ef3b51f43498f050e2d1e4c40;p=pcsx_rearmed.git diff --git a/plugins/cdrcimg/cdrcimg.c b/plugins/cdrcimg/cdrcimg.c index f1e07773..b3bee271 100644 --- a/plugins/cdrcimg/cdrcimg.c +++ b/plugins/cdrcimg/cdrcimg.c @@ -12,18 +12,15 @@ #include #include #include -#ifndef _WIN32 -#define CALLBACK -#ifndef NO_DYLIB +#if !defined(_WIN32) && !defined(NO_DYLIB) #include #endif -#else -#define WIN32_LEAN_AND_MEAN -#include -#endif #include "cdrcimg.h" +#undef CALLBACK +#define CALLBACK + #define PFX "cdrcimg: " #define err(f, ...) fprintf(stderr, PFX f, ##__VA_ARGS__)