X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator.ml;h=8f1f935f741db543c9d7212afd5b80dd33906c68;hb=3e38a3c7ae31035d6cf4069d61e8b32d2dbd3ebb;hp=117781ad05d989e46d54e9415083d1e77f2f0f3c;hpb=ebd2ff37a9eba9412456c42398f64a3cb107b79c;p=hivex.git diff --git a/generator/generator.ml b/generator/generator.ml index 117781a..8f1f935 100755 --- a/generator/generator.ml +++ b/generator/generator.ml @@ -1,6 +1,6 @@ #!/usr/bin/env ocaml (* hivex - * Copyright (C) 2009-2010 Red Hat Inc. + * Copyright (C) 2009-2011 Red Hat Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -2188,10 +2188,7 @@ and generate_perl_xs () = #include #include - -#ifndef PRId64 -#define PRId64 \"lld\" -#endif +#include static SV * my_newSVll(long long val) { @@ -2205,10 +2202,6 @@ my_newSVll(long long val) { #endif } -#ifndef PRIu64 -#define PRIu64 \"llu\" -#endif - #if 0 static SV * my_newSVull(unsigned long long val) {