aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libfmt/nan64.c2
-rw-r--r--src/libthread/threadimpl.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/src/libfmt/nan64.c b/src/libfmt/nan64.c
index dbd03fc6..db4d1ecd 100644
--- a/src/libfmt/nan64.c
+++ b/src/libfmt/nan64.c
@@ -10,7 +10,7 @@
typedef unsigned long long uvlong;
typedef unsigned long ulong;
-#ifdef NEEDLL
+#ifdef _NEEDLL
static uvlong uvnan = 0x7FF0000000000001LL;
static uvlong uvinf = 0x7FF0000000000000LL;
static uvlong uvneginf = 0xFFF0000000000000LL;
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index 24d9b214..d9b22403 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -24,11 +24,6 @@
#include <thread.h>
#include "label.h"
-enum{
-STKSIZE = 16384,
-STKMAGIC = 0xCAFEBEEF
-};
-
typedef struct Thread Thread;
typedef struct Proc Proc;
typedef struct Tqueue Tqueue;