X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=c_auto.h;h=b3b1afc162ae2f8ca249f1c144d6bbabe36f2708;hb=1fe8d40ebdb232ab6be27af1a3b94a2869cc3779;hp=9b34f885d13c52cec9c57a58866ad0372ed9e0a4;hpb=2c31fb4cf1427f5a24c4eed0a08dbd3f3a2dacce;p=ia32rtools.git diff --git a/c_auto.h b/c_auto.h index 9b34f88..b3b1afc 100644 --- a/c_auto.h +++ b/c_auto.h @@ -35,6 +35,12 @@ typedef struct { #define BYTE2(x) (*((u8*)&(x)+2)) #define BYTE3(x) (*((u8*)&(x)+3)) +#ifndef __WINE__ +#define DECL_IMPORT __declspec(dllimport) +#else +#define DECL_IMPORT +#endif + #define memcpy_0 memcpy #define noreturn __attribute__((noreturn))