pal_defs.h 547 B

1234567891011121314151617181920
  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. #endif /* PAL_DEFS_H */