Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRalph Giles <giles@mozilla.com>2012-10-24 00:04:36 +0400
committerRalph Giles <giles@mozilla.com>2012-10-24 00:04:36 +0400
commit662ae9bb1800fe5d700b7a8730b6cc501cc4d48c (patch)
treea3756021dcdac08853a0ac8ad8456134c4b8ee7e /win32
parent3b60e81d794733e7af54ea1557f0879ec50286bd (diff)
Include process.h for _getpid on windows.
Previously the test programmes happened to link because _getpid returns an int, which is the default prototype. Instead, include the appropriate header to supply a real declaration, fixing the associated warning. I moved the getpid->_getpid define to the site of the header inclusion to make clear what's going on, rather than have it floating in win32/config.h.
Diffstat (limited to 'win32')
-rw-r--r--win32/config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/config.h b/win32/config.h
index 6d32620f..d46d0d54 100644
--- a/win32/config.h
+++ b/win32/config.h
@@ -4,7 +4,6 @@
#define CELT_BUILD 1
#define inline __inline
-#define getpid _getpid
#define USE_ALLOCA 1