Compiler Directives?

Mac OSX specific forum
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Compiler Directives?

Post by Kale »

i can use this for windows:

Code: Select all

#PB_OS_Windows
Is there an equal for OSX?
--Kale

Image
Fred
Administrator
Administrator
Posts: 16623
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

#PB_OS_MacOS should do the trick
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

ta :)
--Kale

Image
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Actually that doesn't work :? #PB_OS_MacOS is not defined on the Windows platform, only Mac OS. :cry:
--Kale

Image
Fred
Administrator
Administrator
Posts: 16623
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

added, thanks
Post Reply