Difference between revisions of "Platform defines"

From Free Pascal wiki
Jump to navigationJump to search
Line 11: Line 11:
 
!define(s)!!meaning
 
!define(s)!!meaning
 
|-
 
|-
!colspan=2!General
+
!colspan=2|General
 
|-
 
|-
 
|ENDIAN_BIG||big endian
 
|ENDIAN_BIG||big endian
 
|-
 
|-
 
|ENDIAN_LITTLE||little endian
 
|ENDIAN_LITTLE||little endian
 +
|-
 +
!colspan=2|Specific
 
|-
 
|-
 
|CPU386,i386||386 and compatible (32 bit PC)
 
|CPU386,i386||386 and compatible (32 bit PC)

Revision as of 22:11, 19 June 2006

note: the tables in this article may not be complete

Useful tips before using platform defines

Architecture defines

define(s) meaning
General
ENDIAN_BIG big endian
ENDIAN_LITTLE little endian
Specific
CPU386,i386 386 and compatible (32 bit PC)

Operating system defines

define(s) meaning
General
BSD *BSD and Darwin
UNIX any UNIX or UNIX-like system.
MSWINDOWS all variants of windows
Specific
LINUX linux
WIN32 32 bit windows
WIN64 64 bit windows
GO32V2 MSDos (using go32v2 extender)