diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-18 09:56:44 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-03-19 15:57:52 +0100 |
commit | 37e9658f74f9421aaae5fe71f12eb2221f2d574a (patch) | |
tree | f55aeab48b2b4edf3267aaf1f5459d52c9b7aa36 /src/tools.h | |
parent | 352c7bec48f166e34fa94f7481882a8b5958e15c (diff) | |
download | lanes-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/tools.h')
-rw-r--r-- | src/tools.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools.h b/src/tools.h index a0893e4..c714837 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -1,7 +1,5 @@ | |||
1 | #ifndef __LANES_TOOLS_H__ | 1 | #pragma once |
2 | #define __LANES_TOOLS_H__ | ||
3 | 2 | ||
4 | //#include "lauxlib.h" | ||
5 | #include "threading.h" | 3 | #include "threading.h" |
6 | #include "deep.h" | 4 | #include "deep.h" |
7 | 5 | ||
@@ -53,5 +51,3 @@ static DECLARE_CONST_UNIQUE_KEY( CONFIG_REGKEY, 0x31cd24894eae8624); // 'cancel_ | |||
53 | 51 | ||
54 | // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ | 52 | // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ |
55 | static DECLARE_CONST_UNIQUE_KEY( LOOKUP_REGKEY, 0x5051ed67ee7b51a1); // 'cancel_error' sentinel | 53 | static DECLARE_CONST_UNIQUE_KEY( LOOKUP_REGKEY, 0x5051ed67ee7b51a1); // 'cancel_error' sentinel |
56 | |||
57 | #endif // __LANES_TOOLS_H__ | ||