1 /* 2 * Copyright (C) 2000 Ross Combs (rocombs@cs.nmsu.edu) 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 */ 18 #ifndef INCLUDED_SEEK_PROTOS 19 #define INCLUDED_SEEK_PROTOS 20 21 #ifndef SEEK_SET 22 # ifdef L_SET 23 # define SEEK_SET L_SET 24 # else 25 # define SEEK_SET 0 26 # endif 27 #endif 28 29 #ifndef SEEK_CUR 30 # ifdef L_INCR 31 # define SEEK_CUR L_INCR 32 # else 33 # define SEEK_CUR 1 34 # endif 35 #endif 36 37 #ifndef SEEK_END 38 # ifdef L_XTND 39 # define SEEK_END L_XTND 40 # else 41 # define SEEK_END 2 42 # endif 43 #endif 44 45 #endif 46