oaa-windows.h

Go to the documentation of this file.
00001 // $Id: oaa-windows.h,v 1.4 2006/10/29 22:38:39 agno Exp $
00002 
00003 // oaa-windows.h
00004 
00005 //
00006 
00007 // This file contains windows-specific typedefs for compiling
00008 
00009 // oaa on windows.
00010 
00011 /*
00012 
00013  * Copyright (C) 2006  SRI International
00014 
00015  *
00016 
00017  * This library is free software; you can redistribute it and/or
00018 
00019  * modify it under the terms of the GNU Lesser General Public
00020 
00021  * License as published by the Free Software Foundation; either
00022 
00023  * version 2.1 of the License, or (at your option) any later version.
00024 
00025  *
00026 
00027  * This library is distributed in the hope that it will be useful,
00028 
00029  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00030 
00031  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00032 
00033  * Lesser General Public License for more details.
00034 
00035  *
00036 
00037  * You should have received a copy of the GNU Lesser General Public
00038 
00039  * License along with this library; if not, write to the Free Software
00040 
00041  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00042 
00043  *
00044 
00045  * SRI International: 333 Ravenswood Ave, Menlo Park, CA 94025
00046 
00047  */
00048 
00049 #ifndef OAAWINDOWS_H
00050 
00051 #define OAAWINDOWS_H
00052 
00053 #ifdef _WINDOWS
00054 
00055 
00056 
00057 #define MAXHOSTNAMELEN 256
00058 
00059 
00060 
00061 #include <basetsd.h> // Contains SSIZE_T
00062 
00063 
00064 
00067 typedef SSIZE_T ssize_t;
00068 
00069 
00070 
00071 #define strcasecmp stricmp
00072 
00073 #define snprintf win_oaa_snprintf
00074 
00075 int  win_oaa_snprintf(char *, size_t, const char *, ...);
00076 
00077 __int64 strtoll(const char *nptr, char **endptr, int base);
00078 
00079 
00080 
00081 #endif
00082 
00083 #endif
00084 

Generated on Wed May 23 17:20:12 2007 using doxygen 1.5.2