Browse Source

fix up conflict due to sync mistake

master
Mike Hamburg 10 years ago
parent
commit
1eaab1fa57
2 changed files with 5 additions and 2 deletions
  1. +2
    -0
      src/include/field.h
  2. +3
    -2
      src/include/word.h

+ 2
- 0
src/include/field.h View File

@@ -10,7 +10,9 @@
#ifndef __FIELD_H__ #ifndef __FIELD_H__
#define __FIELD_H__ #define __FIELD_H__


#include "constant_time.h"
#include "f_field.h" #include "f_field.h"
#include <string.h>


/** @brief Bytes in a field element */ /** @brief Bytes in a field element */
#define FIELD_BYTES (1+(FIELD_BITS-1)/8) #define FIELD_BYTES (1+(FIELD_BITS-1)/8)


+ 3
- 2
src/include/word.h View File

@@ -5,11 +5,12 @@
#ifndef __WORD_H__ #ifndef __WORD_H__
#define __WORD_H__ #define __WORD_H__


#include "arch_config.h"

/* for posix_memalign */ /* for posix_memalign */
#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE 600


#include "arch_config.h"


#ifndef __APPLE__ #ifndef __APPLE__
#ifndef _BSD_SOURCE #ifndef _BSD_SOURCE
#define _BSD_SOURCE 1 #define _BSD_SOURCE 1


Loading…
Cancel
Save