Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
tsjensen committed Dec 28, 2023
1 parent 8cbbad7 commit 00bc93a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
#ifndef CONFIG_H
#define CONFIG_H

#if defined(__linux__)
#error SEEE! WE ARE ON __linux__
#endif

#if defined(__GLIBC__)
#error SEEE! WE ARE ON __GLIBC__
#endif

#if defined(__GNU__)
#error SEEE! WE ARE ON __GNU__
#endif

#if defined(__linux__) || defined(__GLIBC__) || defined(__GNU__)

Expand All @@ -39,6 +50,8 @@

#elif defined(__MINGW32__)

#error SEEE! WE ARE ON __MINGW32__ WHO WOULDA THUNK

/* enable strdup() declaration in string.h: */
#define __MISC_VISIBLE 1

Expand All @@ -55,6 +68,8 @@
#define _POSIX_SOURCE
#endif

#error SEEE! WE ARE ON ...else...

#endif

/* enable strdup() declaration in string.h: */
Expand Down

0 comments on commit 00bc93a

Please sign in to comment.