X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/acde6b9f1a36c21e89e587eade3a57d636cd8f86..205d7a7a1b84d22f885579108d6e0f015c1454a6:/misc.h diff --git a/misc.h b/misc.h index 50a4d5d..72d98ab 100644 --- a/misc.h +++ b/misc.h @@ -34,12 +34,10 @@ #endif /* Returns c-string "s" if n > 1, empty string "" otherwise. */ -#define ESSE(n) ((n) > 1 ? misc::str_esse : misc::str_nil) -namespace misc { +#define ESSE(n) (misc::str_esse + ((n) <= 1)) +namespace misc { extern const char str_esse[]; - extern const char str_nil[]; - } #endif // !MISC_H