changeset 1741:c7ab1203d933 trunk

[svn] - only include non-SDK things if _AUDACIOUS_CORE is defined.
author nenolod
date Mon, 18 Sep 2006 02:33:52 -0700
parents 1cd9aa465ea7
children 4fa99b5e8f24
files ChangeLog audacious/Makefile audacious/main.h
diffstat 3 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Sep 18 02:30:57 2006 -0700
+++ b/ChangeLog	Mon Sep 18 02:33:52 2006 -0700
@@ -1,3 +1,12 @@
+2006-09-18 09:30:57 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2417]
+  - export main.h API
+  
+
+  Changes:        Modified:
+  +1 -0           trunk/audacious/Makefile  
+
+
 2006-09-18 09:06:40 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2415]
   - export xentry and xconvert API
--- a/audacious/Makefile	Mon Sep 18 02:30:57 2006 -0700
+++ b/audacious/Makefile	Mon Sep 18 02:33:52 2006 -0700
@@ -23,6 +23,7 @@
 	$(LIBGLADE_CFLAGS) \
 	$(BEEP_DEFINES)    \
 	$(ARCH_DEFINES)    \
+	-D_AUDACIOUS_CORE \
 	-I..    \
 	-I../intl
 
--- a/audacious/main.h	Mon Sep 18 02:30:57 2006 -0700
+++ b/audacious/main.h	Mon Sep 18 02:33:52 2006 -0700
@@ -22,8 +22,10 @@
 #ifndef MAIN_H
 #define MAIN_H
 
-#include "widgets/widgetcore.h"
-#include "mainwin.h"
+#ifdef _AUDACIOUS_CORE
+# include "widgets/widgetcore.h"
+# include "mainwin.h"
+#endif
 
 #include <sys/types.h>
 #include <sys/stat.h>