Permalink
Browse files

Fix unsecure define

  • Loading branch information...
1 parent c5751f6 commit bda6e480901590ecf310aa638e40b2f8a2d230d6 @gierschv gierschv committed Sep 4, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 gsmlib/gsm_sysdep.h
View
@@ -25,7 +25,9 @@ extern "C" {
// this is mostly taken from the autoconf documentation (WIN32 added)
#ifdef __GNUC__
-# define alloca __builtin_alloca
+# ifndef alloca
+# define alloca __builtin_alloca
+# endif
#else
# if HAVE_ALLOCA_H
# include <alloca.h>

0 comments on commit bda6e48

Please sign in to comment.