X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fcdrcimg%2Fcdrcimg.c;fp=plugins%2Fcdrcimg%2Fcdrcimg.c;h=22545162868b381e57ea9cdbfd18d1d9f91f3eb8;hb=029e681c394691e626aab685eacad0610b6048ad;hp=91cf1cad1795976b0c3a10207f1824df4b6191af;hpb=609d9ea53d1b2d4c5398066ca7899179b466040a;p=pcsx_rearmed.git diff --git a/plugins/cdrcimg/cdrcimg.c b/plugins/cdrcimg/cdrcimg.c index 91cf1cad..22545162 100644 --- a/plugins/cdrcimg/cdrcimg.c +++ b/plugins/cdrcimg/cdrcimg.c @@ -12,16 +12,15 @@ #include #include #include -#ifndef _WIN32 -#define CALLBACK +#if !defined(_WIN32) && !defined(NO_DYLIB) #include -#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__)