BASIC

Author Topic: Detect win  (Read 156 times)

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1177
    • View Profile
Detect win
« on: 2017-Nov-20 »
Hi
I know how to detect for WIN32 but what about 64 bit - should DEFINED(WIN64) ?

Anyone know if that works?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Offline hardyx

  • Community Developer
  • Dr. Type
  • ******
  • Posts: 479
    • View Profile
Re: Detect win
« Reply #1 on: 2017-Nov-20 »
WIN32 and WIN64 defines in C doesn't detect the operative system the user has.
Detects the type of COMPILER you are using.

Offline MrPlow

  • Prof. Inline
  • *****
  • Posts: 1177
    • View Profile
Re: Detect win
« Reply #2 on: 2017-Nov-20 »
Thanks!
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs