Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leethomason/tinyxml2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstriker.sh <strikersh@disroot.org>2021-06-13 21:24:00 +0300
committerstriker.sh <strikersh@disroot.org>2021-06-13 21:24:00 +0300
commit98233b604b9ab34c86b72256e489d947202ae5e8 (patch)
tree95a8bb8d2a4abab44bdff0cc06f461a7bef5dc6a
parent1dee28e51f9175a31955b9791c74c430fe13dc82 (diff)
Use fseeko and ftello on BSDs
-rwxr-xr-xtinyxml2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyxml2.cpp b/tinyxml2.cpp
index 31925d9..d32b2b3 100755
--- a/tinyxml2.cpp
+++ b/tinyxml2.cpp
@@ -103,7 +103,8 @@ distribution.
#if defined(_WIN64)
#define TIXML_FSEEK _fseeki64
#define TIXML_FTELL _ftelli64
-#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__ANDROID__)
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) \
+ || defined(__NetBSD__) || defined(__DragonFly__) || defined(__ANDROID__)
#define TIXML_FSEEK fseeko
#define TIXML_FTELL ftello
#elif defined(__unix__) && defined(__x86_64__)