Reorganised /include

Fortune for cpprng's current commit: Future curse − 末凶
lib
Avril 3 years ago
parent 9fb0030c7a
commit df0fbadf3b
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -14,7 +14,7 @@ endif
SRC_C = $(wildcard src/*.c) SRC_C = $(wildcard src/*.c)
SRC_CXX = $(wildcard src/*.cpp) SRC_CXX = $(wildcard src/*.cpp)
INCLUDE=include INCLUDE=include src/internal
COMMON_FLAGS= -W -Wall -Wextra -Wstrict-aliasing -fno-strict-aliasing "-D_VERSION=$(VERSION)" $(addprefix -I,$(INCLUDE)) COMMON_FLAGS= -W -Wall -Wextra -Wstrict-aliasing -fno-strict-aliasing "-D_VERSION=$(VERSION)" $(addprefix -I,$(INCLUDE))

@ -6,7 +6,7 @@
#include <climits> #include <climits>
#include "common.h" #include "rng/common.h"
#define CTOR_COPY(name) name(const name& copy) #define CTOR_COPY(name) name(const name& copy)
#define CTOR_MOVE(name) name(name&& move) #define CTOR_MOVE(name) name(name&& move)

@ -1,5 +1,5 @@
#ifndef _INTS_H #ifndef _RNG__COMMON_H
#define _INTS_H #define _RNG__COMMON_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
@ -69,4 +69,4 @@ typedef uintptr_t ptr_t;
} }
#endif #endif
#endif /* _INTS_H */ #endif /* _RNG__COMMON_H */

@ -0,0 +1 @@
../../include/rng/common.h
Loading…
Cancel
Save