]> Nishi Git Mirror - dataworks.git/commitdiff
idk watcom
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Wed, 22 May 2024 01:09:59 +0000 (01:09 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Wed, 22 May 2024 01:09:59 +0000 (01:09 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@62 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Library/dw_database.h

index 9b5ed2a38787f43d880d8c2873cf6292a6f42469..08c6abd77260718c377d5457ba71aa29286c96b3 100644 (file)
@@ -43,7 +43,11 @@ extern "C" {
 #include <stdint.h>
 #include <stdio.h>
 
+#ifdef __WATCOMC__
+#define PACKED _Packed
+#else
 #define PACKED __attribute__((packed))
+#endif
 
 /**
  * @~english