build.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. (c) Copyright 2000-2002 convergence integrated media GmbH.
  3. (c) Copyright 2002-2004 convergence GmbH.
  4. All rights reserved.
  5. Written by Denis Oliver Kropp <dok@directfb.org>,
  6. Andreas Hundt <andi@fischlustig.de>,
  7. Sven Neumann <neo@directfb.org> and
  8. Ville Syrjälä <syrjala@sci.fi>.
  9. This library is free software; you can redistribute it and/or
  10. modify it under the terms of the GNU Lesser General Public
  11. License as published by the Free Software Foundation; either
  12. version 2 of the License, or (at your option) any later version.
  13. This library is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  16. Lesser General Public License for more details.
  17. You should have received a copy of the GNU Lesser General Public
  18. License along with this library; if not, write to the
  19. Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20. Boston, MA 02111-1307, USA.
  21. */
  22. #ifndef __DIRECT__BUILD_H__
  23. #define __DIRECT__BUILD_H__
  24. #define DIRECT_BUILD_DEBUG (0)
  25. #define DIRECT_BUILD_DEBUGS (1)
  26. #define DIRECT_BUILD_TRACE (0)
  27. #define DIRECT_BUILD_TEXT (1)
  28. #define DIRECT_BUILD_GETTID (1)
  29. #define DIRECT_BUILD_NETWORK (1)
  30. #define DIRECT_BUILD_STDBOOL (1)
  31. #if !DIRECT_BUILD_DEBUGS
  32. #if defined(DIRECT_ENABLE_DEBUG) || defined(DIRECT_FORCE_DEBUG)
  33. #define DIRECT_MINI_DEBUG
  34. #endif
  35. #undef DIRECT_ENABLE_DEBUG
  36. #ifdef DIRECT_FORCE_DEBUG
  37. #warning DIRECT_FORCE_DEBUG used with 'pure release' library headers.
  38. #undef DIRECT_FORCE_DEBUG
  39. #endif
  40. #endif
  41. #endif