Created
February 7, 2018 06:23
-
-
Save Polda18/c21554b8964e8e657ffb5f3d61c06312 to your computer and use it in GitHub Desktop.
OS environment definitions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************** | |
* Architecture environment branching of OS | |
* Basic structure | |
***********************************************/ | |
#ifndef __ARCHITECTURES_H__ | |
#define __ARCHITECTURES_H__ | |
#if defined(i386) || defined(__i386) || defined(__i386__) || defined(_M_IX86) || defined(_X86_) | |
#define ENV32 | |
#elif defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(__amd64__) || defined(_M_AMD64) || defined(_M_X64) | |
#define ENV64 | |
#else | |
// Write code for other archutectures here | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment