mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Fixing a type bug
This commit is contained in:
@@ -50,3 +50,28 @@ index 3720ea6..6f4c6bc 100644
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
From 7fa67738f702dc39b16f2caa05b9301e09209a5b Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?=
|
||||
<adrian.arroyocalle@gmail.com>
|
||||
Date: Tue, 23 Dec 2014 19:56:17 +0000
|
||||
Subject: Stupid type-bug
|
||||
|
||||
|
||||
diff --git a/src/osgDB/FileUtils.cpp b/src/osgDB/FileUtils.cpp
|
||||
index 47436d5..060eb29 100644
|
||||
--- a/src/osgDB/FileUtils.cpp
|
||||
+++ b/src/osgDB/FileUtils.cpp
|
||||
@@ -71,8 +71,7 @@ typedef char TCHAR;
|
||||
// variable. (MIN_ALLOWED is set low by default so it is
|
||||
// unhelpful in this case.)
|
||||
// Unfortunately, we can't use the label MAC_OS_X_VERSION_10_4
|
||||
- // for older OS's like Jaguar, Panther
|
||||
- since they are not defined,
|
||||
+ // for older OS's like Jaguar, Panther since they are not defined,
|
||||
// so I am going to hardcode the number.
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
|
||||
#define stat64 stat
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user