fix oc_get_host_platform declaration
This commit is contained in:
parent
bded79d363
commit
b85efa4bc7
|
@ -8,11 +8,10 @@
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C" {
|
||||||
{
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
oc_host_platform oc_get_host_platform()
|
oc_host_platform oc_get_host_platform(void)
|
||||||
{
|
{
|
||||||
return OC_HOST_PLATFORM_MACOS;
|
return OC_HOST_PLATFORM_MACOS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@ typedef enum
|
||||||
OC_HOST_PLATFORM_WINDOWS,
|
OC_HOST_PLATFORM_WINDOWS,
|
||||||
} oc_host_platform;
|
} oc_host_platform;
|
||||||
|
|
||||||
ORCA_API oc_host_platform oc_get_host_platform();
|
ORCA_API oc_host_platform oc_get_host_platform(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
|
|
|
@ -8,11 +8,10 @@
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C" {
|
||||||
{
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
oc_host_platform oc_get_host_platform()
|
oc_host_platform oc_get_host_platform(void)
|
||||||
{
|
{
|
||||||
return OC_HOST_PLATFORM_WINDOWS;
|
return OC_HOST_PLATFORM_WINDOWS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue