mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-09 11: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 [
|
hPutStrLn outf $ unlines [
|
||||||
"#define TARGET_CPU_68K 1",
|
"#define TARGET_CPU_68K 1",
|
||||||
"#define TYPE_LONGLONG 1",
|
"#define TYPE_LONGLONG 1",
|
||||||
"#define pascal"
|
"#define pascal",
|
||||||
|
"#ifdef __cplusplus",
|
||||||
|
"#define TYPE_BOOL 1",
|
||||||
|
"#endif"
|
||||||
]
|
]
|
||||||
hPutStr outf $ concatMap (outputItem typeMap) $ collectPragmas $ items
|
hPutStr outf $ concatMap (outputItem typeMap) $ collectPragmas $ items
|
||||||
hClose outf
|
hClose outf
|
||||||
|
|
Loading…
Reference in New Issue
Block a user