Don't add extern "C" namespace around thread.h if MSC_VER is defined
This commit is contained in:
parent
4e8633f7f3
commit
cce198f66c
7
thread.h
7
thread.h
|
@ -20,6 +20,10 @@
|
||||||
#include "boolean.h"
|
#include "boolean.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#if defined(__cplusplus) && !defined(MSC_VER)
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
// Implements the bare minimum needed for RetroArch. :)
|
// Implements the bare minimum needed for RetroArch. :)
|
||||||
|
|
||||||
typedef struct sthread sthread_t;
|
typedef struct sthread sthread_t;
|
||||||
|
@ -88,5 +92,8 @@ static inline void retro_sleep(unsigned msec)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__cplusplus) && !defined(MSC_VER)
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue