HAVE_CONFIG_H

svn-id: r7632
This commit is contained in:
Jonathan Gray 2003-05-18 13:39:02 +00:00
parent 657c8ca2e3
commit cf54a63639
4 changed files with 16 additions and 2 deletions

View File

@ -19,6 +19,10 @@
* $Header$
*/
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#if defined(UNIX) && defined(USE_ALSA)
#include "sound/mpu401.h"

View File

@ -27,6 +27,10 @@
#include "config-file.h"
#include "scaler.h" // Only for gfx_modes
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#define CHECK_OPTION() if ((current_option != NULL) || (*s != '\0')) goto ShowHelpAndExit
#define HANDLE_OPTION() if ((*s == '\0') && (current_option == NULL)) goto ShowHelpAndExit; \
if ((*s != '\0') && (current_option != NULL)) goto ShowHelpAndExit; \

View File

@ -25,7 +25,9 @@
#include <stdlib.h>
// TODO - use config.h, generated by configure
//#include "config.h"
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#if defined(USE_MAD) || defined(USE_VORBIS)
#define COMPRESSED_SOUND_FILE
@ -123,7 +125,7 @@
#define FORCEINLINE inline
#define CDECL
#ifndef CONFIG_H
#ifndef HAVE_CONFIG_H
typedef unsigned char byte;
typedef unsigned char uint8;
typedef unsigned short uint16;

View File

@ -23,6 +23,10 @@
#ifndef MIXER_H
#define MIXER_H
#if defined(HAVE_CONFIG_H)
#include "config.h"
#endif
#include <stdio.h>
#ifdef USE_MAD