[xiph-commits] r12947 - trunk/theora/examples

giles at svn.xiph.org giles at svn.xiph.org
Mon May 14 09:01:51 PDT 2007


Author: giles
Date: 2007-05-14 09:01:51 -0700 (Mon, 14 May 2007)
New Revision: 12947

Modified:
   trunk/theora/examples/png2theora.c
Log:
AFAICT _FILE_OFFSET_BITS is the only one of these magic defines we are 
using. Removing the others to reduce cargo culting and improve 
portability.


Modified: trunk/theora/examples/png2theora.c
===================================================================
--- trunk/theora/examples/png2theora.c	2007-05-14 13:00:02 UTC (rev 12946)
+++ trunk/theora/examples/png2theora.c	2007-05-14 16:01:51 UTC (rev 12947)
@@ -5,7 +5,7 @@
  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
  *                                                                  *
- * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2003                *
+ * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2007                *
  * by the Xiph.Org Foundation http://www.xiph.org/                  *
  *                                                                  *
  ********************************************************************
@@ -17,9 +17,6 @@
   
  ********************************************************************/
 
-#define _GNU_SOURCE
-#define _LARGEFILE_SOURCE
-#define _LARGEFILE64_SOURCE
 #define _FILE_OFFSET_BITS 64
 
 #include <errno.h>



More information about the commits mailing list