Switch to using WAPP_PLATFORM_CPP instead of __cplusplus
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef ALIASES_H
|
||||
#define ALIASES_H
|
||||
|
||||
#include "../platform/platform.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#define c8 uint8_t
|
||||
@@ -28,10 +29,10 @@
|
||||
#define internal static
|
||||
#define persistent static
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef WAPP_PLATFORM_CPP
|
||||
#define class_mem static
|
||||
#define BEGIN_C_LINKAGE extern "C" {
|
||||
#define END_C_LINKAGE }
|
||||
#endif // __cplusplus
|
||||
#endif // WAPP_PLATFORM_CPP
|
||||
|
||||
#endif // !ALIASES_H
|
||||
|
||||
Reference in New Issue
Block a user