Skip to content

a header file use include to check what the current system is

Notifications You must be signed in to change notification settings

rigoudan/oscheck.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

oscheck.h

a header file use include to check what the current system is.

Usage

#include "oscheck.h"

if current system is Linux, then macro os_linux will be defined.

#ifdef os_linux
xxx
#endif

if current system is Win, then macro os_win will be defined.

#ifdef os_win
xxx
#endif

About

a header file use include to check what the current system is

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published