From 761d752569b9bad6bdb755e91ca9e345cfb2788d Mon Sep 17 00:00:00 2001 From: aliaspider Date: Wed, 29 Oct 2014 06:47:46 +0100 Subject: C++ cleanups. (in progress) --- source/port.h | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'source/port.h') diff --git a/source/port.h b/source/port.h index 44a6cdf..9583a74 100644 --- a/source/port.h +++ b/source/port.h @@ -200,22 +200,6 @@ typedef __int64 int64; #define FALSE 0 #endif -#ifdef STORM -#define EXTERN_C -#define START_EXTERN_C -#define END_EXTERN_C -#else -#if defined(__cplusplus) || defined(c_plusplus) -#define EXTERN_C extern "C" -#define START_EXTERN_C extern "C" { -#define END_EXTERN_C } -#else -#define EXTERN_C extern -#define START_EXTERN_C -#define END_EXTERN_C -#endif -#endif - #ifndef __WIN32__ #ifndef PATH_MAX @@ -239,11 +223,11 @@ void _splitpath (const char *path, char *drive, char *dir, char *fname, #define strncasecmp strnicmp #endif -EXTERN_C void S9xGenerateSound (); +void S9xGenerateSound (); #ifdef STORM -EXTERN_C int soundsignal; -EXTERN_C void MixSound(void); +int soundsignal; +void MixSound(void); /* Yes, CHECK_SOUND is getting defined correctly! */ #define CHECK_SOUND if (Settings.APUEnabled) if(SetSignalPPC(0L, soundsignal) & soundsignal) MixSound #else -- cgit v1.2.3