Index: includes/file.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/file.inc,v
retrieving revision 1.9
diff -u -r1.9 file.inc
--- includes/file.inc	15 Feb 2004 15:40:06 -0000	1.9
+++ includes/file.inc	23 Feb 2004 21:28:24 -0000
@@ -12,11 +12,13 @@
 define('FILE_SEPARATOR', PHP_OS == 'WINNT' ? '\\' : '/');
 
 // Required for file uploads to work with PHP 4.2
-define('UPLOAD_ERR_OK', 0);
-define('UPLOAD_ERR_INI_SIZE', 1);
-define('UPLOAD_ERR_FORM_SIZE', 2);
-define('UPLOAD_ERR_PARTIAL', 3);
-define('UPLOAD_ERR_NO_FILE', 4);
+if (!defined('UPLOAD_ERR_OK')) {
+  define('UPLOAD_ERR_OK', 0);
+  define('UPLOAD_ERR_INI_SIZE', 1);
+  define('UPLOAD_ERR_FORM_SIZE', 2);
+  define('UPLOAD_ERR_PARTIAL', 3);
+  define('UPLOAD_ERR_NO_FILE', 4);
+}
 
 /**
  * Create the download path to a file.
