![]() |
![]() ![]() |
Serena Willis
Opinions presented here are held in all of my roles and capacities, both personal and professional. Summary
OrganizationsThe GNU ProjectThe Free Software Foundation American Civil Liberties Union Computers & ProgrammingProgramming Languages I KnowGreatest Common Divisor in 19 Languages Microcomputer OS History UNIX Tricks The Datashed (personal datacenter) Computer Collection ChivaNet Internet Services The VAX Pirate's Lair (my old website, ca. 2002) GitLab GitHub GCC OS Test Macros GenealogyGenealogy HomeEnglish Notable Kin Scottish Notable Kin HobbiesMusicTelephones & PBX Social NetworkingMastodonGeek Code-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/E/G/H/IT/L/MU/P/SS d-- s+: a+ C++++ UBLAVHS++++$ P++ L++ E++ W+++$ N+ o? K- w++ O+++ M V+++>$ PS+++ PE-- Y+ !PGP t+++ !5 !X R tv b+++ DI++ D--- G e h---- r+++ x++++ ------END GEEK CODE BLOCK------ |
GCC OS Test MacrosThese gcc C preprocessor macros can be used to test if your code is compiling on a particular operating system. For instance, the following construct will include netinet/in.h only on FreeBSD: #if defined(__FreeBSD__) # include <netinet/in.h> #endif
Please note that this information is gathered and maintained on a best-effort basis, and is not guaranteed to be either timely or accurate. |
$Log: buildtests.shtml,v $ Revision 1.2 2020/10/28 21:35:03 jpw Fix code formatting problem Revision 1.1 2020/10/28 21:31:01 jpw Initial revision
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.