aboutsummaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-03-18 09:56:44 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-03-19 15:57:52 +0100
commit37e9658f74f9421aaae5fe71f12eb2221f2d574a (patch)
treef55aeab48b2b4edf3267aaf1f5459d52c9b7aa36 /src/platform.h
parent352c7bec48f166e34fa94f7481882a8b5958e15c (diff)
downloadlanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.tar.gz
lanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.tar.bz2
lanes-37e9658f74f9421aaae5fe71f12eb2221f2d574a.zip
C++ migration: buildfixes
Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C"
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/platform.h b/src/platform.h
index da5264e..ce621d9 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -1,5 +1,4 @@
1#ifndef __LANES_PLATFORM_H__ 1#pragma once
2#define __LANES_PLATFORM_H__ 1
3 2
4#ifdef _WIN32_WCE 3#ifdef _WIN32_WCE
5 #define PLATFORM_POCKETPC 4 #define PLATFORM_POCKETPC
@@ -20,5 +19,3 @@
20#else 19#else
21 #error "Unknown platform!" 20 #error "Unknown platform!"
22#endif 21#endif
23
24#endif // __LANES_PLATFORM_H__