constantijnw wrote: > Florian Klaempfl wrote: >> constantijnw wrote: >> >>> Congratulations! Is a new compiler define planned which distinguishes >>> between 32 and 64 bits, irrespective of the os targeted? >>> >> >> What do you mean with this? >> _______________________________________________ >> fpc-pascal maillist - fpc-pascal@lists.freepascal.org >> http://lists.freepascal.org/mailman/listinfo/fpc-pascal >> >> >> > To declare conditional defines like this easily: > > {$ifdef cpu64} > TMyInteger = Int64; > {$else} > TMyInteger = LongInt; > {$endif}
http://www.freepascal.org/wiki/index.php/Writing_portable_code_regarding_the_processor_architecture#32_Bit_vs._64_Bit _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal