Skip to content

Commit

Permalink
fbc/gas64: fix duplicate definition (when building debug fbc)
Browse files Browse the repository at this point in the history
- fix duplicate definition when building debug versions of fbc
- allow both '-g' and '-d __GAS64_DEBUG__ to be given on the
  command line when building fbc
  • Loading branch information
jayrm committed Feb 24, 2024
1 parent 427a659 commit a674b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/ir-gas64.bas
Expand Up @@ -140,7 +140,7 @@ declare sub cfi_windows_asm_code(byval statement as string)
#ifndef DISABLE_GAS64_DEBUG
'' not disabled? OK turn on debugging information in asm
'' files by default if this is a debug version of fbc
#if __FB_DEBUG__ <> 0
#if (__FB_DEBUG__ <> 0) and not defined(__GAS64_DEBUG__)
#define __GAS64_DEBUG__
#endif
#endif
Expand Down

0 comments on commit a674b28

Please sign in to comment.