projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ANSI C comment style.
[gnulib.git]
/
lib
/
alloca_.h
diff --git
a/lib/alloca_.h
b/lib/alloca_.h
index
3e3fdf4
..
dd0b3e9
100644
(file)
--- a/
lib/alloca_.h
+++ b/
lib/alloca_.h
@@
-1,6
+1,6
@@
/* Memory allocation on the stack.
/* Memory allocation on the stack.
- Copyright (C) 1995, 1999, 2001, 2002, 2003, 2004 Free Software
+ Copyright (C) 1995, 1999, 2001, 2002, 2003, 2004
, 2006
Free Software
Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
@@
-34,19
+34,21
@@
request, the program just crashes.
*/
request, the program just crashes.
*/
-#ifdef __GNUC__
-# define alloca __builtin_alloca
-#elif defined _AIX
-# define alloca __alloca
-#elif defined _MSC_VER
-# include <malloc.h>
-# define alloca _alloca
-#else
-# include <stddef.h>
-# ifdef __cplusplus
+#ifndef alloca
+# ifdef __GNUC__
+# define alloca __builtin_alloca
+# elif defined _AIX
+# define alloca __alloca
+# elif defined _MSC_VER
+# include <malloc.h>
+# define alloca _alloca
+# else
+# include <stddef.h>
+# ifdef __cplusplus
extern "C"
extern "C"
-# endif
+#
endif
void *alloca (size_t);
void *alloca (size_t);
+# endif
#endif
#endif /* _GNULIB_ALLOCA_H */
#endif
#endif /* _GNULIB_ALLOCA_H */