mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-22 06:49:09 +00:00
more portability
This commit is contained in:
parent
0428ae301f
commit
a203269976
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
CC= @CC@
|
CC= @CC@
|
||||||
CSTD= @CSTD@ -Wall -D_POSIX_C_SOURCE=200112L
|
CSTD= @CSTD@ -Wall
|
||||||
CFLAGS= $(CSTD) @CFLAGS@ -DED25519_@ED25519IMPL@ @MYDEFS@
|
CFLAGS= $(CSTD) @CFLAGS@ -DED25519_@ED25519IMPL@ @MYDEFS@
|
||||||
ASFLAGS=
|
ASFLAGS=
|
||||||
LDFLAGS= @NOPIE@
|
LDFLAGS= @NOPIE@
|
||||||
|
|
4
main.c
4
main.c
|
@ -1,3 +1,7 @@
|
||||||
|
#ifdef __linux__
|
||||||
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue