shithub: aacenc

Download patch

ref: 70e5737483fb99fc21138fc6d69cdd905f771c67
parent: e2fae61f1a5df93249734aa64911d30faaa4080c
author: oxygene <oxygene>
date: Mon Feb 26 09:07:55 EST 2001

Added min() function for unix

--- a/libfaac/channels.h
+++ b/libfaac/channels.h
@@ -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: channels.h,v 1.2 2001/02/04 17:50:47 oxygene2000 Exp $
+ * $Id: channels.h,v 1.3 2001/02/26 14:07:55 oxygene Exp $
  */
 
 #ifndef CHANNEL_H
@@ -25,6 +25,10 @@
 #ifdef __cplusplus
 extern "C" {
 #endif /* __cplusplus */
+
+#ifdef __unix__
+#define min(a,b) ( (a) < (b) ? (a) : (b) )
+#endif
 
 #include "coder.h"