mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
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 <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
|
||||
|
Loading…
Reference in New Issue
Block a user