pal_defs.h 743 B

1234567891011121314151617181920212223242526
  1. /* -*- mode:c; c-file-style:"k&r"; c-basic-offset: 4; tab-width:4; indent-tabs-mode:nil; mode:auto-fill; fill-column:78; -*- */
  2. /* vim: set ts=4 sw=4 et tw=78 fo=cqt wm=0: */
  3. #ifndef PAL_DEFS_H
  4. #define PAL_DEFS_H
  5. /* enable caching loaded binaries for optimizing process creation */
  6. #ifdef LINUX
  7. # define CACHE_LOADED_BINARIES 1
  8. #else
  9. # define CACHE_LOADED_BINARIES 0
  10. #endif
  11. /* statically allocate slab manager */
  12. #define STATIC_SLAB 1
  13. /* maximum length of URIs */
  14. #define URI_MAX 256
  15. /* allow binding sockets to ANY addresses (e.g., 0.0.0.0:0) */
  16. #define ALLOW_BIND_ANY 1
  17. /* turn on the following option to trace heap memory leak */
  18. #define TRACE_HEAP_LEAK 0
  19. #endif /* PAL_DEFS_H */