ref: a97e894cf28bd775910c3c727adb401e4615dc27
parent: 2ea6c63520968847bc93e1a83a315667039a00d9
author: menno <menno>
date: Mon Nov 24 17:00:11 EST 2008
explicit typedef signed WIN32 -> _WIN32
--- a/frontend/input.c
+++ b/frontend/input.c
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: input.c,v 1.14 2007/06/08 17:29:24 menno Exp $
+ * $Id: input.c,v 1.15 2008/11/24 22:00:11 menno Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include <string.h>
-#ifdef WIN32
+#ifdef _WIN32
#include <io.h>
#include <fcntl.h>
#endif
@@ -120,7 +120,7 @@
if (!strcmp(name, "-"))
{
-#ifdef WIN32
+#ifdef _WIN32
setmode(fileno(stdin), O_BINARY);
#endif
wave_f = stdin;
--- a/frontend/input.h
+++ b/frontend/input.h
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: input.h,v 1.6 2008/04/06 00:42:31 menno Exp $
+ * $Id: input.h,v 1.7 2008/11/24 22:00:11 menno Exp $
*/
#ifndef _INPUT_H
@@ -41,10 +41,10 @@
#endif
#ifndef HAVE_INT32_T
-typedef int int32_t;
+typedef signed int int32_t;
#endif
#ifndef HAVE_INT16_T
-typedef short int16_t;
+typedef signed short int16_t;
#endif
#ifndef HAVE_U_INT32_T
typedef unsigned int u_int32_t;
--- a/include/faac.h
+++ b/include/faac.h
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: faac.h,v 1.33 2004/07/04 12:12:05 corrados Exp $
+ * $Id: faac.h,v 1.34 2008/11/24 22:00:11 menno Exp $
*/
#ifndef _FAAC_H_
@@ -26,7 +26,7 @@
extern "C" {
#endif /* __cplusplus */
-#ifdef WIN32
+#ifdef _WIN32
# ifndef FAACAPI
# define FAACAPI __stdcall
# endif
@@ -50,7 +50,7 @@
typedef void *faacEncHandle;
#ifndef HAVE_INT32_T
-typedef int int32_t;
+typedef signed int int32_t;
#endif
/*
--- a/libfaac/frame.h
+++ b/libfaac/frame.h
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
- * $Id: frame.h,v 1.27 2003/11/24 18:09:38 knik Exp $
+ * $Id: frame.h,v 1.28 2008/11/24 22:00:11 menno Exp $
*/
#ifndef FRAME_H
@@ -37,7 +37,7 @@
#endif
#ifndef HAVE_INT32_T
-typedef int int32_t;
+typedef signed int int32_t;
#endif
#ifdef __cplusplus
@@ -50,7 +50,7 @@
#include "aacquant.h"
#include "fft.h"
-#ifdef WIN32
+#ifdef _WIN32
#ifndef FAACAPI
#define FAACAPI __stdcall
#endif