This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
ed448goldilocks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
make sure _XOPEN_SOURCE gets defined before posix_memalign is used
master
Michael Hamburg
10 years ago
parent
edc6afe496
commit
b69f11509f
2 changed files
with
4 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/include/field.h
+3
-2
src/include/word.h
+ 1
- 1
src/include/field.h
View File
@@ -9,8 +9,8 @@
#ifndef __FIELD_H__
#define __FIELD_H__
#include <string.h>
#include "constant_time.h"
#include <string.h>
#include "p448.h"
#define FIELD_BITS 448
+ 3
- 2
src/include/word.h
View File
@@ -5,11 +5,12 @@
#ifndef __WORD_H__
#define __WORD_H__
#include "arch_config.h"
/* for posix_memalign */
#define _XOPEN_SOURCE 600
#include "arch_config.h"
#ifndef __APPLE__
#ifndef _BSD_SOURCE
#define _BSD_SOURCE 1
Write
Preview
Loading…
Cancel
Save