filename | src/dream.h |
changeset | 135:2b05ea3d87c1 |
prev | 119:cef4d880123c |
next | 180:e6dcf9b65658 |
author | nkeynes |
date | Mon May 15 08:28:52 2006 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Rename video_driver to display_driver Add input source to display Implement configuration file support Hook controllers up to configuration |
file | annotate | diff | log | raw |
1.1 --- a/src/dream.h Mon Mar 20 11:59:33 2006 +00001.2 +++ b/src/dream.h Mon May 15 08:28:52 2006 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: dream.h,v 1.8 2006-03-20 11:59:33 nkeynes Exp $1.6 + * $Id: dream.h,v 1.9 2006-04-30 01:48:38 nkeynes Exp $1.7 *1.8 * Miscellaneous application-wide declarations (mainly logging atm)1.9 *1.10 @@ -114,6 +114,10 @@1.11 int fread_string( char *s, int maxlen, FILE *f );1.12 void fwrite_dump( unsigned char *buf, unsigned int length, FILE *f );1.14 +#ifndef max1.15 +#define max(a,b) ( (a) > (b) ? (a) : (b) )1.16 +#endif1.17 +1.18 #ifdef __cplusplus1.19 }1.20 #endif
.