mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-25 22:29:38 +00:00
set -DTYPE_BOOL=1 for C++
This commit is contained in:
parent
8dbff71e48
commit
6b484b5f72
@ -222,7 +222,10 @@ processFile inputDir outputDir file
|
||||
hPutStrLn outf $ unlines [
|
||||
"#define TARGET_CPU_68K 1",
|
||||
"#define TYPE_LONGLONG 1",
|
||||
"#define pascal"
|
||||
"#define pascal",
|
||||
"#ifdef __cplusplus",
|
||||
"#define TYPE_BOOL 1",
|
||||
"#endif"
|
||||
]
|
||||
hPutStr outf $ concatMap (outputItem typeMap) $ collectPragmas $ items
|
||||
hClose outf
|
||||
|
Loading…
x
Reference in New Issue
Block a user