mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
43 lines
866 B
Plaintext
43 lines
866 B
Plaintext
From 41d00999f362a449d5a5a638d5aa74d4ca17b5fa Mon Sep 17 00:00:00 2001
|
|
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
|
Date: Mon, 4 Mar 2024 20:14:51 +1000
|
|
Subject: Use system int64, uint64 defs
|
|
|
|
|
|
diff --git a/libcore/subcost.h b/libcore/subcost.h
|
|
index c1df65e..4bc004b 100644
|
|
--- a/libcore/subcost.h
|
|
+++ b/libcore/subcost.h
|
|
@@ -14,7 +14,11 @@
|
|
|
|
#include "utils.h"
|
|
|
|
+#ifdef __HAIKU__
|
|
+#include <SupportDefs.h>
|
|
+#else
|
|
typedef unsigned long long uint64;
|
|
+#endif
|
|
|
|
/**
|
|
* Cost event counter, simple wrapper around a 64bit entity
|
|
diff --git a/libcore/utils.h b/libcore/utils.h
|
|
index 2eb267b..e827a4b 100644
|
|
--- a/libcore/utils.h
|
|
+++ b/libcore/utils.h
|
|
@@ -17,8 +17,12 @@
|
|
|
|
class QIODevice;
|
|
|
|
+#ifdef __HAIKU__
|
|
+#include <SupportDefs.h>
|
|
+#else
|
|
typedef unsigned long long uint64;
|
|
typedef long long int64;
|
|
+#endif
|
|
|
|
/**
|
|
* A simple, constant string class
|
|
--
|
|
2.48.1
|
|
|