summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus-private/nautilus-alloc.h')
-rw-r--r--libnautilus-private/nautilus-alloc.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-alloc.h b/libnautilus-private/nautilus-alloc.h
new file mode 100644
index 000000000..c98eb9f66
--- /dev/null
+++ b/libnautilus-private/nautilus-alloc.h
@@ -0,0 +1,31 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*-
+
+ Nautilus extensions to things like malloc and alloca.
+
+ Copyright (C) 2000 Eazel, Inc.
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public
+ License along with this program; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Author: Darin Adler <darin@eazel.com>
+*/
+
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
+#ifndef g_alloca
+#define g_alloca alloca
+#endif