Detect Windows or Linux in C, C++
65209
How do I check OS with a preprocessor directive?
10934
Using Windows DLL from Linux
13009
Is there a macro telling which OS we're using?
75244
C/C++/Assembly Programatically detect if hyper-threading is active on Windows, Mac and Linux
18214
Getting information on a machine's hardware in Linux
23706
How to detect reliably Mac OS X, iOS, Linux, Windows in C preprocessor?
5218
Is there an alternative to Windows Hello for Linux?
92241
Detecting \global, \long, \outer, \protected
71254
Determine when Windows was installed on a computer
107753
Equivalent to Windows getch() for Mac/Linux crashes
53082
Detect virtualized OS from an application?
43988
find out which program pops up a command line window
115579
Check if a services is installed using C
39184
Windows equivalent of the Linux command 'touch'?
97073
Detecting Device Type in a web application
14370
What is the Linux equivalent to Windows' Program Files?
81699
How can I determine the OS of the system from within a Lua script?