s/if define/if defined/
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Sat, 14 Sep 2002 14:56:49 +0000 (14:56 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Sat, 14 Sep 2002 14:56:49 +0000 (14:56 +0000)
Original commit message from CVS:
s/if define/if defined/

sys/cdrom/gstcdplayer_ioctl.c
sys/cdrom/gstcdplayer_ioctl.h

index 0f14675c2f2c9a9f7e89da61a715001db32b9d2f..f137d953b71c02db40b48a2dd586b4c67143bceb 100644 (file)
 static void cd_fix_track_range(struct cd *cd,gint *start_track,gint *end_track);
 static gint cddb_sum(gint n);
 
-#ifdef HAVE_LINUX_CDROM_H
+#if defined(HAVE_LINUX_CDROM_H)
 #include <linux/cdrom.h>
-#elif defined HAVE_SYS_CDIO_H
+#elif defined(HAVE_SYS_CDIO_H)
 #include <sys/cdio.h>
 /*
 irix cdaudio works quite a bit differently than ioctl(), so its not ready
-#elif define HAVE_DMEDIA_CDAUDIO_H
+#elif defined(HAVE_DMEDIA_CDAUDIO_H)
 #include <dmedia/cdaudio.h>
 */
 #endif
@@ -55,12 +55,12 @@ irix cdaudio works quite a bit differently than ioctl(), so its not ready
        gint cd_current_track(struct cd *cd);
        gboolean cd_close(struct cd *cd);
 */     
-#ifdef HAVE_CDROM_SOLARIS
+#if defined(HAVE_CDROM_SOLARIS)
 #include "gstcdplayer_ioctl_solaris.h"
-#elif define HAVE_CDROM_BSD
+#elif defined(HAVE_CDROM_BSD)
 #include "gstcdplayer_ioctl_bsd.h"
 /*
-#elif define HAVE_CDROM_IRIX
+#elif defined(HAVE_CDROM_IRIX)
 #include "gstcdplayer_ioctl_irix.h"
 */
 #endif
@@ -118,5 +118,3 @@ guint32 cd_cddb_discid(struct cd *cd)
 
        return ((n % 0xff) << 24 | t << 8 | (cd->num_tracks));
 }
-
-
index e9fa1a638b8dd688ee2f94eb895cc9a8d41d7abe..986d1b2d38a6bc2193fac20583f30775c1dfc646 100644 (file)
@@ -66,5 +66,3 @@ gboolean cd_close(struct cd *cd);
 guint32 cd_cddb_discid(struct cd *cd);
 
 #endif
-
-