shithub: aacenc

Download patch

ref: 0468783dd0c811fb77274a54dac90ed7b9bd0cde
parent: 01560a054a836e332c41e69486d9a79f1ede2497
author: menno <menno>
date: Mon Feb 5 16:47:49 EST 2001

changed LINUX -> __unix__

--- a/frontend/main.c
+++ b/frontend/main.c
@@ -16,7 +16,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: main.c,v 1.3 2001/02/04 17:50:47 oxygene2000 Exp $
+ * $Id: main.c,v 1.4 2001/02/05 21:47:49 menno Exp $
  */
 
 #ifdef _WIN32
@@ -23,7 +23,7 @@
 #include <windows.h>
 #endif
 
-#ifdef LINUX
+#ifdef __unix__
 #include <sys/time.h>
 #include <sys/resource.h>
 #include <unistd.h>
@@ -56,7 +56,7 @@
 
 	FILE *outfile;
 
-#ifdef LINUX
+#ifdef __unix__
 	struct rusage *usage;
 #endif
 #ifdef _WIN32
@@ -197,7 +197,7 @@
 		nSecs = nTotSecs - (60*nMins);
 		printf("Encoding %s took:\t%d:%.2d\t\n", argv[argc-2], nMins, nSecs);
 #else
-#ifdef LINUX
+#ifdef __unix__
 		usage=malloc(sizeof(struct rusage*));
 		getrusage(RUSAGE_SELF,usage);
 		totalSecs=usage->ru_utime.tv_sec;