summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2022-03-10 15:00:15 +0000
committerepoch <epoch@enzo.thebackupbox.net>2022-03-10 15:00:15 +0000
commit79bf4d84788ee41043bc1f6142fbb146de4d2bd7 (patch)
tree2ac468c160877b083b9f9997cde251e0c6c47ed0
parent6ad6895b347691dd8178ebd0a6b818f763e45f57 (diff)
downloadhackvr-79bf4d84788ee41043bc1f6142fbb146de4d2bd7.tar.gz
hackvr-79bf4d84788ee41043bc1f6142fbb146de4d2bd7.zip
changed a define and added a char* active for some reason
-rw-r--r--src/common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 7d8e5ab..470fe66 100644
--- a/src/common.h
+++ b/src/common.h
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE
+#define _POSIX_C_SOURCE 200809L //for fileno and strdup
#include <string.h>
#include "config.h"
#include "math.h"
@@ -116,6 +116,7 @@ struct hvr_global {
int periodic_output;//if false, we output commands from keypresses as they're being sent to the command interpreter. if true we output every value amount of time. miliseconds probably.
real mmz;
int lps;//loops per second. same as frame per second but also works for headless.
+ char *active;
struct c3_shape *shape[SHAPES];
int shapes;
struct hashtable ht_group;