-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/* | ||
(c) Copyright 2001-2011 The world wide DirectFB Open Source Community (directfb.org) | ||
(c) Copyright 2000-2004 Convergence (integrated media) GmbH | ||
All rights reserved. | ||
Written by Denis Oliver Kropp <[email protected]>, | ||
Andreas Hundt <[email protected]>, | ||
Sven Neumann <[email protected]>, | ||
Ville Syrjälä <[email protected]> and | ||
Claudio Ciccani <[email protected]>. | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser 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 | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the | ||
Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
Boston, MA 02111-1307, USA. | ||
*/ | ||
|
||
#ifndef __DIRECT__BUILD_H__ | ||
#define __DIRECT__BUILD_H__ | ||
|
||
|
||
#define DIRECT_OS_LINUX_GNU_LIBC (0) | ||
#define DIRECT_OS_LINUX_KERNEL (1) | ||
#define DIRECT_OS_PSP (2) | ||
#define DIRECT_OS_WIN32 (3) | ||
#define DIRECT_OS_FAMOS (4) | ||
|
||
|
||
#define DIRECT_BUILD_DEBUG (0) | ||
#define DIRECT_BUILD_DEBUGS (1) | ||
#define DIRECT_BUILD_TRACE (0) | ||
#define DIRECT_BUILD_TEXT (1) | ||
#define DIRECT_BUILD_GETTID (1) | ||
#define DIRECT_BUILD_NETWORK (1) | ||
#define DIRECT_BUILD_STDBOOL (1) | ||
#define DIRECT_BUILD_DYNLOAD (1) | ||
#define DIRECT_BUILD_MULTICORE (1) | ||
#define DIRECT_BUILD_OSTYPE (DIRECT_OS_LINUX_GNU_LIBC) | ||
|
||
|
||
|
||
#if !DIRECT_BUILD_DEBUGS | ||
#if defined(DIRECT_ENABLE_DEBUG) || defined(DIRECT_FORCE_DEBUG) | ||
#define DIRECT_MINI_DEBUG | ||
#endif | ||
#undef DIRECT_ENABLE_DEBUG | ||
#ifdef DIRECT_FORCE_DEBUG | ||
#warning DIRECT_FORCE_DEBUG used with 'pure release' library headers. | ||
#undef DIRECT_FORCE_DEBUG | ||
#endif | ||
#endif | ||
|
||
#endif |