PageRenderTime 11ms CodeModel.GetById 6ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/m4/hs_ulong_const.m4

https://bitbucket.org/freebsd/freebsd-head/
m4 | 11 lines | 11 code | 0 blank | 0 comment | 0 complexity | 36a373d14dd370805750db0b4554065c MD5 | raw file
 1AC_DEFUN([hs_ULONG_CONST],
 2[ AH_TEMPLATE(ULONG_CONST, [How do we create unsigned long constants?])
 3AC_EGREP_CPP(Circus,
 4 [#define ACAT(a,b)a ## b
 5ACAT(Cir,cus)
 6], AC_DEFINE([ULONG_CONST(a)], [a ## UL]),
 7    AC_EGREP_CPP(Reiser,
 8[#define RCAT(a,b)a/**/b
 9RCAT(Rei,ser)
10], AC_DEFINE([ULONG_CONST(a)], [a/**/L]),
11    AC_MSG_ERROR([How do we create an unsigned long constant?])))])