Commit f637b688 authored by Jens Gustedt's avatar Jens Gustedt
Browse files

some missing bits that are necessary after the rearangement of C11

library additions
parent d559a586
......@@ -14,6 +14,7 @@
#define P99_RAND_H
#include "p99_threads.h"
#include "p99_new.h"
#include "p99_clib.h"
/** @file
**
......
......@@ -103,6 +103,7 @@ CFLAGS += -D_XOPEN_SOURCE=${XOPEN_VERSION}
endif
ifneq (${GNU_LIBC_VERSION},)
CFLAGS += -D_GNU_SOURCE=1
LDFLAGS += -lrt
endif
##############################
......
......@@ -11,11 +11,12 @@
/* particular purpose. */
/* */
#include "p99_threads.h"
#include "stdbool.h"
#include "stdlib.h"
#include <stdbool.h>
#include <stdlib.h>
#include "p99_compiler.h"
#include "p99_generic.h"
#include "p99_atomic.h"
#include "p99_clib.h"
static_assert(true, "everything is alright");
// static_assert(false, "all goes wrong");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment