Sfoglia il codice sorgente

added: now includes a `gdbdebug` conditional compilation identifier
useful for importing debug versions of libraries when building for gdb

ProPuke 4 anni fa
parent
commit
8dece6e911
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      parser.bmx

+ 1 - 0
parser.bmx

@@ -4606,6 +4606,7 @@ Function EvalS$( source$,ty:TType )
 
 	' debug/release
 	env.InsertDecl New TConstDecl.Create( "debug",New TIntType,New TConstExpr.Create( New TIntType,opt_debug ),0 )
+	env.InsertDecl New TConstDecl.Create( "gdbdebug",New TIntType,New TConstExpr.Create( New TIntType,opt_gdbdebug ),0 )
 
 	' threaded
 	env.InsertDecl New TConstDecl.Create( "threaded",New TIntType,New TConstExpr.Create( New TIntType,opt_threaded ),0 )