pal_defs.h 724 B

12345678910111213141516171819202122
  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. /* (Linux-only) enable caching loaded binaries for optimizing process creation */
  6. #define CACHE_LOADED_BINARIES 0 /* default: disabled */
  7. /* statically allocate slab manager */
  8. #define STATIC_SLAB 1
  9. /* maximum length of URIs */
  10. #define URI_MAX 256
  11. /* allow binding sockets to ANY addresses (e.g., 0.0.0.0:0) */
  12. #define ALLOW_BIND_ANY 1
  13. /* turn on the following option to trace heap memory leak */
  14. #define TRACE_HEAP_LEAK 0
  15. #endif /* PAL_DEFS_H */