Roxen.git
/
server
/
etc
/
include
/
roxen.h
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/include/roxen.h:1:
// -*- pike -*- //
-
// $Id: roxen.h,v 1.
30
2006
/
04
/
20
09
:
41
:
42
grubba
Exp $
+
// $Id: roxen.h,v 1.
31
2008
/
11
/
05
18
:
19
:
49
mast
Exp $
#ifndef _ROXEN_H_ #define _ROXEN_H_ #include <config.h> #define HOST_TO_IP 'H' #define IP_TO_HOST 'I' #ifndef REQUESTID #define REQUESTID id #endif
-
+
// Various useful macros
+
+
#define TOSTR2(X) #X
+
#define TOSTR(X) TOSTR2(X)
+
// Localization support #ifndef __LOCALEOBJECT #ifdef IN_ROXEN mixed get_locale(); #define __LOCALE (get_locale) #else /* !IN_ROXEN */ #define __LOCALE (roxen.get_locale) #endif /* IN_ROXEN */ #endif /* !__LOCALEOBJECT */