diff options
author | aliaspider | 2014-10-29 06:47:46 +0100 |
---|---|---|
committer | aliaspider | 2014-10-29 06:47:46 +0100 |
commit | 761d752569b9bad6bdb755e91ca9e345cfb2788d (patch) | |
tree | 5eaa11c172c08039757d6bee1a3641e051462d3a /source/port.h | |
parent | a6dc7abc9b8cc3986eda5a84141da7dc9e4e8f1a (diff) | |
download | snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.gz snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.tar.bz2 snes9x2005-761d752569b9bad6bdb755e91ca9e345cfb2788d.zip |
C++ cleanups. (in progress)
Diffstat (limited to 'source/port.h')
-rw-r--r-- | source/port.h | 22 |
1 files changed, 3 insertions, 19 deletions
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 |