- Partial revert of 42973 for the systeminfo utility -- the issue was fixed in 42930
[reactos.git] / rosapps / applications / devutils / syscalldump / syscalldump.c
index 149c63d..0407e68 100644 (file)
@@ -36,7 +36,12 @@ ImageSymToVa(HANDLE hProcess, PSYMBOL_INFO pSym, PBYTE pModule, PCSTR Name)
                printf("SymGetSymFromName64() failed: %ld\n", GetLastError());
                return 0;
        }
+#if defined(__GNUC__) && \
+       (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ < 40400)
        printf("looking up adress for %s: 0x%llx\n", Name, pSym->Address);
+#else
+       printf("looking up adress for %s: 0x%I64x\n", Name, pSym->Address);
+#endif
 
        NtHeaders = ImageNtHeader(pModule);
        p = ImageRvaToVa(NtHeaders, pModule, pSym->Address - pSym->ModBase, NULL);