forked from enlightenment/enlightenment
ok - strdupa make sure its defined after other includes in case,.. and
add to e_fm_ipc.c... SVN revision: 81036
This commit is contained in:
parent
53d73af873
commit
5ab8396f24
|
@ -47,6 +47,10 @@
|
|||
#define DEF_ROUND_TRIP_TOLERANCE 0.01
|
||||
#define DEF_MOD_BACKOFF 0.2
|
||||
|
||||
#ifndef strdupa
|
||||
# define strdupa(str) strcpy(alloca(strlen(str) + 1), str)
|
||||
#endif
|
||||
|
||||
typedef struct _E_Dir E_Dir;
|
||||
typedef struct _E_Fop E_Fop;
|
||||
typedef struct _E_Mod E_Mod;
|
||||
|
|
|
@ -21,10 +21,6 @@ extern "C"
|
|||
void *alloca(size_t);
|
||||
#endif
|
||||
|
||||
#ifndef strdupa
|
||||
# define strdupa(str) strcpy(alloca(strlen(str) + 1), str)
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
|
@ -48,6 +44,10 @@ void *alloca(size_t);
|
|||
#undef E_TYPEDEFS
|
||||
#include "e_fm_op.h"
|
||||
|
||||
#ifndef strdupa
|
||||
# define strdupa(str) strcpy(alloca(strlen(str) + 1), str)
|
||||
#endif
|
||||
|
||||
#define READBUFSIZE 65536
|
||||
#define COPYBUFSIZE 16384
|
||||
#define REMOVECHUNKSIZE 4096
|
||||
|
|
Loading…
Reference in New Issue