Don't add extern "C" namespace around thread.h if MSC_VER is defined

This commit is contained in:
twinaphex 2014-06-26 23:47:10 +02:00
parent 4e8633f7f3
commit cce198f66c

View File

@ -20,6 +20,10 @@
#include "boolean.h"
#include <stdint.h>
#if defined(__cplusplus) && !defined(MSC_VER)
extern "C" {
#endif
// Implements the bare minimum needed for RetroArch. :)
typedef struct sthread sthread_t;
@ -88,5 +92,8 @@ static inline void retro_sleep(unsigned msec)
}
#endif
#if defined(__cplusplus) && !defined(MSC_VER)
}
#endif
#endif