Mercurial > hg > audiostuff
view spandsp-0.0.6pre17/src/msvc/unistd.h @ 5:f762bf195c4b
import spandsp-0.0.3
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:00:21 +0200 |
parents | 26cd8f1ef0b1 |
children |
line wrap: on
line source
/* * SpanDSP - a series of DSP components for telephony * * unistd.h - a fudge for MSVC, which lacks this header * * Written by Steve Underwood <steveu@coppice.org> * * Copyright (C) 2006 Michael Jerris * * * This file is released in the public domain. * */ #if !defined(_UNISTD_H_) #define _UNISTD_H_ #ifdef __cplusplus extern "C" { #endif // Declare this so we don't have to include winsock.h, it causes numerous conflicts. extern int __stdcall gethostname(char * name, int namelen); #pragma comment(lib, "ws2_32.lib") extern int getopt(int argc, char *argv[], char *opstring); extern char *optarg; #ifdef __cplusplus } #endif #endif