From 37e9658f74f9421aaae5fe71f12eb2221f2d574a Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 18 Mar 2024 09:56:44 +0100 Subject: C++ migration: buildfixes Essentially, buildfixes when compiling as C++, plus properly marking public API as extern "C" --- src/tools.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/tools.h') 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 @@ -#ifndef __LANES_TOOLS_H__ -#define __LANES_TOOLS_H__ +#pragma once -//#include "lauxlib.h" #include "threading.h" #include "deep.h" @@ -53,5 +51,3 @@ static DECLARE_CONST_UNIQUE_KEY( CONFIG_REGKEY, 0x31cd24894eae8624); // 'cancel_ // crc64/we of string "LOOKUP_REGKEY" generated at http://www.nitrxgen.net/hashgen/ static DECLARE_CONST_UNIQUE_KEY( LOOKUP_REGKEY, 0x5051ed67ee7b51a1); // 'cancel_error' sentinel - -#endif // __LANES_TOOLS_H__ -- cgit v1.2.3-55-g6feb