summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-06 21:26:28 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-06 21:26:28 +0200
commit4dfcaabceb8f9b29008e13e244604c72680b8d2b (patch)
treea6e70fd0afdbd6132af2aac2e6e0d0f64be7823e
parent16b14fdec07b15e90cb67a6bea98c5cdb66d57ca (diff)
[ IMP ] Update BTB scripts.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
-rw-r--r--build-unix.json2
-rw-r--r--dev/NDK/Defines.hxx13
2 files changed, 7 insertions, 8 deletions
diff --git a/build-unix.json b/build-unix.json
index 685d8d5..0d9d8e9 100644
--- a/build-unix.json
+++ b/build-unix.json
@@ -3,7 +3,7 @@
"compiler_std": "c++20",
"headers_path": ["./dev/NDK", "./dev", "./dev/NDK/Sources/Detail"],
"sources_path": ["dev/NDK/Sources/*.cxx"],
- "output_name": "/usr/local/lib/libndk.dylib",
+ "output_name": "/usr/lib/libndk.so",
"compiler_flags": ["-fPIC", "-shared", "-fPIC"],
"cpp_macros": ["__NDK_DLL__=202401"]
}
diff --git a/dev/NDK/Defines.hxx b/dev/NDK/Defines.hxx
index 0b7c559..ca9f3b7 100644
--- a/dev/NDK/Defines.hxx
+++ b/dev/NDK/Defines.hxx
@@ -4,8 +4,8 @@
------------------------------------------- */
-#ifndef __NDK_DEFINES_HPP__
-#define __NDK_DEFINES_HPP__
+#ifndef __NDK_DEFINES_HXX__
+#define __NDK_DEFINES_HXX__
#ifndef Yes
#define Yes true
@@ -15,8 +15,6 @@
#define No false
#endif // ifndef No
-#include <cstdint>
-
#define SizeType size_t
#define VoidPtr void*
@@ -41,6 +39,7 @@
#define CharType char
#define Boolean bool
+#include <cstdint>
#include <cassert>
#include <cstring>
#include <new>
@@ -133,13 +132,13 @@ typedef char char_type;
#define kAsmFileExts \
{ \
- ".64x", ".32x", ".masm", ".s", ".S", ".asm" \
+ ".64x", ".32x", ".masm", ".s", ".S", ".asm", ".x64" \
}
-#define kAsmFileExtsMax 6
+#define kAsmFileExtsMax 7
#define NDK_MODULE(name) extern "C" int name(int argc, char** argv)
#pragma scalar_storage_order big - endian
-#endif /* ifndef __NDK_DEFINES_HPP__ */
+#endif /* ifndef __NDK_DEFINES_HXX__ */