X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fcdrcimg%2Fcdrcimg.c;h=b3bee271835418dbed636715c890f1cf16185c59;hb=1e98ada32a77394ce8d14a33d689680764d8e41a;hp=f1e077738d1b3618e1a5a45ac0f875a63184ee42;hpb=28d1bea2e828cd079593abc8c97ea6ff4fd7d4f4;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__)