diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-29 17:32:00 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-03-29 17:32:00 +0000 |
commit | 3b0519565763342e77515975173b681fa7171ee5 (patch) | |
tree | 8e2e4fa74c375aea0da6677af2197b69d585b50f /iemnet.h | |
parent | bbca313506e4a50f849a2d27def90304e3a819df (diff) |
made it compile on w32 again
svn path=/trunk/externals/iem/iemnet/; revision=13308
Diffstat (limited to 'iemnet.h')
-rw-r--r-- | iemnet.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -114,13 +114,11 @@ void iemnet__addrout(t_outlet*status_outlet, t_outlet*address_outlet, long addre #if defined(_MSC_VER) +# define snprintf _snprintf # define IEMNET_EXTERN __declspec(dllexport) extern # define CCALL __cdecl -# pragma section(".CRT$XCU",read) # define IEMNET_INITIALIZER(f) \ - static void __cdecl autoinit__ ## f(void); \ - __declspec(allocate(".CRT$XCU")) void (__cdecl*f##_)(void) = f; \ - static void __cdecl autoinit__ ## f(void) { f(); } + static void autoinit__ ## f(void) { f(); } #elif defined(__GNUC__) # define IEMNET_EXTERN extern # define CCALL |