3 * ssintern.h: internal definitions for spicestream library
5 * Copyright (C) 1998-2003 Stephen G. Tell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public
18 * License along with this library; if not, write to the Free
19 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 /* try to arrange to be able ue fopen64 and off64_t inside the spicestream
24 * None of spicestream's API is sensitive to whether or not we
25 * have large file support.
27 * In particular, gwave (and guile) are ignorant of all this. No telling if
28 * guile on a particular system has large file issues.
29 * this is why we don't use autoconf's AC_SYS_LARGEFILE.
32 #define _LARGEFILE64_SOURCE 1
35 #if !defined(_LFS64_STDIO)
37 #define ftello64 ftello
40 /* wish there was a way to portably printf either a 64-bit or 32-bit off_t
41 * without cluttering the rest of the source with #ifdefs.