diff options
Diffstat (limited to 'tests/romantest.cpp')
-rw-r--r-- | tests/romantest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/romantest.cpp b/tests/romantest.cpp index 58c1fc2..3af0ae1 100644 --- a/tests/romantest.cpp +++ b/tests/romantest.cpp @@ -2,9 +2,11 @@ #include <stdio.h> #include <stdlib.h> #include <ctype.h> -extern "C" { #include <roman.h> -} + +#ifndef NO_SWORD_NAMESPACE +using sword::from_rom; +#endif int main(int argc, char **argv) { if (argc != 2) { |