summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwald Snel <esnel@users.sourceforge.net>2003-03-05 17:13:09 +0000
committerEwald Snel <esnel@users.sourceforge.net>2003-03-05 17:13:09 +0000
commit6da071aa591e7c3d4899a2bf8e34ca4e77405776 (patch)
treeabdde8364a0e964680b43253ee3b9529de8f0854
parent83ecf0d2c68b472bb851cece581c833b64310122 (diff)
downloadxine-lib-6da071aa591e7c3d4899a2bf8e34ca4e77405776.tar.gz
xine-lib-6da071aa591e7c3d4899a2bf8e34ca4e77405776.tar.bz2
The 'inline' keyword is not standard ANSI-C and not always available.
Use it for xine compilation only. CVS patchset: 4339 CVS date: 2003/03/05 17:13:09
-rw-r--r--src/xine-utils/xineutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h
index d7bdd5431..98c3a4a97 100644
--- a/src/xine-utils/xineutils.h
+++ b/src/xine-utils/xineutils.h
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xineutils.h,v 1.44 2003/03/04 08:31:57 mroi Exp $
+ * $Id: xineutils.h,v 1.45 2003/03/05 17:13:09 esnel Exp $
*
*/
#ifndef XINEUTILS_H
@@ -43,7 +43,7 @@ extern "C" {
#include <stdio.h>
#include <string.h>
-#ifdef __SUNPRO_C
+#if defined(__SUNPRO_C) || !defined(XINE_COMPILE)
#define inline
#endif