mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Add salieri to linux include compatibility.
This commit is contained in:
1
include/compat/linux/sal.h
Normal file
1
include/compat/linux/sal.h
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#include "../mingw/salieri.h"
|
||||||
@@ -1598,6 +1598,22 @@
|
|||||||
# define SALIERI_DEFINED_String_length
|
# define SALIERI_DEFINED_String_length
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(_In_count_) && defined(SALIERI_DEFINED_In_count_)
|
||||||
|
# undef _In_count_
|
||||||
|
#endif
|
||||||
|
#if !defined(_In_count_)
|
||||||
|
# define _In_count_(param)
|
||||||
|
# define SALIERI_DEFINED_In_count_
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(_In_opt_count_) && defined(SALIERI_DEFINED_In_opt_count_)
|
||||||
|
# undef _In_opt_count_
|
||||||
|
#endif
|
||||||
|
#if !defined(_In_opt_count_)
|
||||||
|
# define _In_opt_count_(param)
|
||||||
|
# define SALIERI_DEFINED_In_opt_count_
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(SALIERI_VERSION)
|
#if defined(SALIERI_VERSION)
|
||||||
# undef SALIERI_VERSION
|
# undef SALIERI_VERSION
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -700,7 +700,8 @@ function toolchain(_buildDir, _libDir)
|
|||||||
}
|
}
|
||||||
buildoptions { "-m64" }
|
buildoptions { "-m64" }
|
||||||
|
|
||||||
configuration { "linux-clang" }
|
configuration { "linux-*" }
|
||||||
|
includedirs { path.join(bxDir, "include/compat/linux") }
|
||||||
|
|
||||||
configuration { "linux-gcc-6" }
|
configuration { "linux-gcc-6" }
|
||||||
buildoptions {
|
buildoptions {
|
||||||
|
|||||||
Reference in New Issue
Block a user