plibsys  0.0.4
Macros
pmacrosos.h File Reference

OS detection macros. More...

Go to the source code of this file.

Macros

#define P_OS_UNIX
 UNIX based operating system. More...
 
#define P_OS_DARWIN
 Darwin based operating system (i.e. More...
 
#define P_OS_DARWIN32
 Darwin based 32-bit operating system. More...
 
#define P_OS_DARWIN64
 Darwin based 64-bit operating system. More...
 
#define P_OS_BSD4
 BSD 4.x based operating system. More...
 
#define P_OS_FREEBSD
 FreeBSD operating system. More...
 
#define P_OS_DRAGONFLY
 DragonFlyBSD operating system. More...
 
#define P_OS_NETBSD
 NetBSD operating system. More...
 
#define P_OS_OPENBSD
 OpenBSD operating system. More...
 
#define P_OS_AIX
 IBM AIX operating system. More...
 
#define P_OS_HPUX
 HP-UX operating system. More...
 
#define P_OS_TRU64
 Tru64 operating system. More...
 
#define P_OS_SOLARIS
 Sun (Oracle) Solaris operating system. More...
 
#define P_OS_QNX
 QNX 4.x operating system. More...
 
#define P_OS_QNX6
 QNX Neutrino 6.x operating system. More...
 
#define P_OS_BB10
 BlackBerry 10 operating system. More...
 
#define P_OS_SCO
 SCO OpenServer operating system. More...
 
#define P_OS_UNIXWARE
 UnixWare 7 operating system. More...
 
#define P_OS_IRIX
 SGI's IRIX operating system. More...
 
#define P_OS_HAIKU
 Haiku operating system. More...
 
#define P_OS_SYLLABLE
 Syllable operating system. More...
 
#define P_OS_BEOS
 BeOS operating system. More...
 
#define P_OS_OS2
 OS/2 operating system. More...
 
#define P_OS_VMS
 OpenVMS operating system. More...
 
#define P_OS_AMIGA
 AmigaOS operating system. More...
 
#define P_OS_LINUX
 Linux based operating system. More...
 
#define P_OS_MAC9
 Apple's Mac OS 9 operating system. More...
 
#define P_OS_MAC
 Apple's macOS operating system. More...
 
#define P_OS_MAC32
 Apple's macOS 32-bit operating system. More...
 
#define P_OS_MAC64
 Apple's macOS 64-bit operating system. More...
 
#define P_OS_CYGWIN
 Microsoft Windows POSIX runtime environment. More...
 
#define P_OS_MSYS
 Microsoft Windows POSIX development environment. More...
 
#define P_OS_WIN
 Microsoft Windows 32-bit operating system. More...
 
#define P_OS_WIN64
 Microsoft Windows 64-bit operating system. More...
 
#define P_OS_ANDROID
 Google Android. More...
 

Detailed Description

OS detection macros.

Author
Alexander Saprykin

All the macros are completely independent of any other platform-specific headers, thus gurantee to work with any compiler under any operating system in the same way as they are used within the library.

This family of macros provides OS detection and defines one or several of P_OS_x macros.

Definition in file pmacrosos.h.

Macro Definition Documentation

◆ P_OS_AIX

#define P_OS_AIX

IBM AIX operating system.

Since
0.0.1

Definition at line 418 of file pmacrosos.h.

◆ P_OS_AMIGA

#define P_OS_AMIGA

AmigaOS operating system.

Since
0.0.4

Definition at line 463 of file pmacrosos.h.

◆ P_OS_ANDROID

#define P_OS_ANDROID

Google Android.

Since
0.0.4

Definition at line 496 of file pmacrosos.h.

◆ P_OS_BB10

#define P_OS_BB10

BlackBerry 10 operating system.

Since
0.0.4

Definition at line 436 of file pmacrosos.h.

◆ P_OS_BEOS

#define P_OS_BEOS

BeOS operating system.

Since
0.0.3

Definition at line 454 of file pmacrosos.h.

◆ P_OS_BSD4

#define P_OS_BSD4

BSD 4.x based operating system.

Since
0.0.1

Definition at line 403 of file pmacrosos.h.

◆ P_OS_CYGWIN

#define P_OS_CYGWIN

Microsoft Windows POSIX runtime environment.

Since
0.0.1

Definition at line 484 of file pmacrosos.h.

◆ P_OS_DARWIN

#define P_OS_DARWIN

Darwin based operating system (i.e.

macOS).

Since
0.0.1

Definition at line 394 of file pmacrosos.h.

◆ P_OS_DARWIN32

#define P_OS_DARWIN32

Darwin based 32-bit operating system.

Since
0.0.1

Definition at line 397 of file pmacrosos.h.

◆ P_OS_DARWIN64

#define P_OS_DARWIN64

Darwin based 64-bit operating system.

Since
0.0.1

Definition at line 400 of file pmacrosos.h.

◆ P_OS_DRAGONFLY

#define P_OS_DRAGONFLY

DragonFlyBSD operating system.

Since
0.0.1

Definition at line 409 of file pmacrosos.h.

◆ P_OS_FREEBSD

#define P_OS_FREEBSD

FreeBSD operating system.

Since
0.0.1

Definition at line 406 of file pmacrosos.h.

◆ P_OS_HAIKU

#define P_OS_HAIKU

Haiku operating system.

Since
0.0.1

Definition at line 448 of file pmacrosos.h.

◆ P_OS_HPUX

#define P_OS_HPUX

HP-UX operating system.

Since
0.0.1

Definition at line 421 of file pmacrosos.h.

◆ P_OS_IRIX

#define P_OS_IRIX

SGI's IRIX operating system.

Since
0.0.1

Definition at line 445 of file pmacrosos.h.

◆ P_OS_LINUX

#define P_OS_LINUX

Linux based operating system.

Since
0.0.1

Definition at line 469 of file pmacrosos.h.

◆ P_OS_MAC

#define P_OS_MAC

Apple's macOS operating system.

Since
0.0.1

Definition at line 475 of file pmacrosos.h.

◆ P_OS_MAC32

#define P_OS_MAC32

Apple's macOS 32-bit operating system.

Since
0.0.1

Definition at line 478 of file pmacrosos.h.

◆ P_OS_MAC64

#define P_OS_MAC64

Apple's macOS 64-bit operating system.

Since
0.0.1

Definition at line 481 of file pmacrosos.h.

◆ P_OS_MAC9

#define P_OS_MAC9

Apple's Mac OS 9 operating system.

Since
0.0.1

Definition at line 472 of file pmacrosos.h.

◆ P_OS_MSYS

#define P_OS_MSYS

Microsoft Windows POSIX development environment.

Since
0.0.1

Definition at line 487 of file pmacrosos.h.

◆ P_OS_NETBSD

#define P_OS_NETBSD

NetBSD operating system.

Since
0.0.1

Definition at line 412 of file pmacrosos.h.

◆ P_OS_OPENBSD

#define P_OS_OPENBSD

OpenBSD operating system.

Since
0.0.1

Definition at line 415 of file pmacrosos.h.

◆ P_OS_OS2

#define P_OS_OS2

OS/2 operating system.

Since
0.0.3

Definition at line 457 of file pmacrosos.h.

◆ P_OS_QNX

#define P_OS_QNX

QNX 4.x operating system.

Since
0.0.1

Definition at line 430 of file pmacrosos.h.

◆ P_OS_QNX6

#define P_OS_QNX6

QNX Neutrino 6.x operating system.

Since
0.0.1

Definition at line 433 of file pmacrosos.h.

◆ P_OS_SCO

#define P_OS_SCO

SCO OpenServer operating system.

Since
0.0.1

Definition at line 439 of file pmacrosos.h.

◆ P_OS_SOLARIS

#define P_OS_SOLARIS

Sun (Oracle) Solaris operating system.

Since
0.0.1

Definition at line 427 of file pmacrosos.h.

◆ P_OS_SYLLABLE

#define P_OS_SYLLABLE

Syllable operating system.

Since
0.0.2

Definition at line 451 of file pmacrosos.h.

◆ P_OS_TRU64

#define P_OS_TRU64

Tru64 operating system.

Since
0.0.2

Definition at line 424 of file pmacrosos.h.

◆ P_OS_UNIX

#define P_OS_UNIX

UNIX based operating system.

Since
0.0.1

Definition at line 387 of file pmacrosos.h.

◆ P_OS_UNIXWARE

#define P_OS_UNIXWARE

UnixWare 7 operating system.

Since
0.0.1

Definition at line 442 of file pmacrosos.h.

◆ P_OS_VMS

#define P_OS_VMS

OpenVMS operating system.

Since
0.0.1

Definition at line 460 of file pmacrosos.h.

◆ P_OS_WIN

#define P_OS_WIN

Microsoft Windows 32-bit operating system.

Since
0.0.1

Definition at line 490 of file pmacrosos.h.

◆ P_OS_WIN64

#define P_OS_WIN64

Microsoft Windows 64-bit operating system.

Since
0.0.1

Definition at line 493 of file pmacrosos.h.