C-Preprocessor syntax errors when using ncurses.h
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cdda-player.c,v 1.16 2005/03/17 07:36:10 rocky Exp $
|
$Id: cdda-player.c,v 1.17 2005/03/17 08:19:19 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -59,10 +59,13 @@
|
|||||||
|
|
||||||
#ifdef HAVE_CURSES_H
|
#ifdef HAVE_CURSES_H
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
#elif HAVE_NCURSES_H
|
#else
|
||||||
|
#ifdef HAVE_NCURSES_H
|
||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
|
#else
|
||||||
# error "You need <curses.h> or <ncurses.h to build cdda-player"
|
# error "You need <curses.h> or <ncurses.h to build cdda-player"
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <cdio/cdio.h>
|
#include <cdio/cdio.h>
|
||||||
#include <cdio/mmc.h>
|
#include <cdio/mmc.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user