config.h added.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2497 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1997-10-13 19:23:02 +00:00
parent 19465bdcb1
commit dd2e92ad2e

View file

@ -0,0 +1,53 @@
/*
config.h
Copyright (C) 1996 Free Software Foundation, Inc.
Author: Scott Christley <scottc@net-community.com>
Author: Ovidiu Predescu <ovidiu@net-community.com>
Date: 1996
This file is part of the GNUstep GUI Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef _GNUstep_H_config
#define _GNUstep_H_config
#include <Foundation/NSGeometry.h>
/* Define NSDebugLog if not defined */
#ifndef NSDebugLog
# ifdef DEBUGLOG
# define NSDebugLog(format, args...) NSLog(format, ## args)
# else
# define NSDebugLog(format, args...)
# endif
#endif /* !NSDebugLog */
extern BOOL initialize_gnustep_backend (void);
#ifndef OBJC_MALLOC
# define OBJC_MALLOC(pointer, type, elements) \
(pointer = calloc (sizeof(type), elements))
#endif
#ifndef OBJC_FREE
# define OBJC_FREE(pointer) \
if (pointer) free(pointer)
#endif
#endif /* _GNUstep_H_config */