comparison ReadParamsFromFile.c @ 16:93b017e30c76

adjust #defines to avoid double defs
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Mon, 29 Oct 2012 16:55:57 +0100
parents d46150af45ad
children 740df4b46535
comparison
equal deleted inserted replaced
4:4716765ac299 7:c72afb3cb906
10 10
11 #include "Param.h" 11 #include "Param.h"
12 12
13 ParamStruc * makeParamFromStrs( char * type, char *value ); 13 ParamStruc * makeParamFromStrs( char * type, char *value );
14 14
15 #ifndef _GNU_SOURCE
15 #define _GNU_SOURCE 16 #define _GNU_SOURCE
17 #endif
16 18
17 /*Copied from gnu's win32 lib 19 /*Copied from gnu's win32 lib
18 */ 20 */
19 ssize_t 21 ssize_t
20 getline( char **lineptr, size_t *n, FILE *stream ) 22 getline( char **lineptr, size_t *n, FILE *stream )