Skip to content
This repository
Browse code

Fixed sndfile load error on OS X 10.5 (Issue #70)

New version of sndfile.framework
  • Loading branch information...
commit d5690ae8bc04b5826b4d030bf52d64515b0c0bfd 1 parent efd9759
Marco Antognini authored July 05, 2011
11  extlibs/headers/libsndfile/osx/sndfile.h
... ...
@@ -1,5 +1,5 @@
1 1
 /*
2  
-** Copyright (C) 1999-2010 Erik de Castro Lopo <erikd@mega-nerd.com>
  2
+** Copyright (C) 1999-2011Erik de Castro Lopo <erikd@mega-nerd.com>
3 3
 **
4 4
 ** This program is free software; you can redistribute it and/or modify
5 5
 ** it under the terms of the GNU Lesser General Public License as published by
@@ -305,16 +305,17 @@ enum
305 305
 typedef	struct SNDFILE_tag	SNDFILE ;
306 306
 
307 307
 /* The following typedef is system specific and is defined when libsndfile is
308  
-** compiled. sf_count_t can be one of loff_t (Linux), off_t (*BSD), off64_t
309  
-** (Solaris), __int64 (Win32) etc. On windows, we need to allow the same
310  
-** header file to be compiler by both GCC and the microsoft compiler.
  308
+** compiled. sf_count_t will be a 64 bit value when the underlying OS allows
  309
+** 64 bit file offsets.
  310
+** On windows, we need to allow the same header file to be compiler by both GCC
  311
+** and the Microsoft compiler.
311 312
 */
312 313
 
313 314
 #if (defined (_MSCVER) || defined (_MSC_VER))
314 315
 typedef __int64		sf_count_t ;
315 316
 #define SF_COUNT_MAX		0x7fffffffffffffffi64
316 317
 #else
317  
-typedef off_t	sf_count_t ;
  318
+typedef int64_t	sf_count_t ;
318 319
 #define SF_COUNT_MAX		0x7FFFFFFFFFFFFFFFLL
319 320
 #endif
320 321
 
BIN  extlibs/libs-osx/Frameworks/sndfile.framework/Versions/A/sndfile
Binary file not shown

0 notes on commit d5690ae

Please sign in to comment.
Something went wrong with that request. Please try again.