Merge pull request #4 from smcv/hurd
Add support for the GNU/Hurd architecture
This commit is contained in:
commit
6a03817a9c
2 files changed
+5
-3
No files matched your search
@@ -169,14 +169,16 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
//================================================================= LINUX ===
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__)
|
||||
#if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
|
||||
|
||||
#include <endian.h>
|
||||
|
||||
#if defined(__linux__)
|
||||
#define OS_STRING "linux"
|
||||
#else
|
||||
#elif defined(__FreeBSD_kernel__)
|
||||
#define OS_STRING "kFreeBSD"
|
||||
#else
|
||||
#define OS_STRING "GNU"
|
||||
#endif
|
||||
|
||||
#define ID_INLINE inline
|
||||
|
||||
Reference in new issue
Block a user