Commits

Wez Furlong committed 816dcbf

fixup cygwin compile

  • Participants
  • Parent commits 9770427

Comments (0)

Files changed (4)

src/AP_commons.cpp

 	uint64_t wintime = 0;
 	GetSystemTimeAsFileTime (&file_time);
 	wintime = (((uint64_t) file_time.dwHighDateTime << 32) | file_time.dwLowDateTime) / 10000000;
-	wintime -= 9561628800;
+	wintime -= 9561628800ULL;
 	return (uint32_t)wintime;
 
 #else
 */
 
 // Original code for IsoLatin1 and UTF-16 by "Martin J. Duerst" <duerst@w3.org>
-
-extern int xmlLittleEndian;
-
 void xmlInitEndianDetection();
 
 int isolat1ToUTF8(unsigned char* out, int outlen, const unsigned char* in, int inlen);

src/AtomicParsley.cpp

 		}		
 	}
 	if (dynUpd.optimization_flags & MEDIADATA__PRECEDES__MOOV) {
-#if defined (WIN32)
+#if defined (_MSC_VER)
 		fflush(dest_file);
 		SetEndOfFile((HANDLE)_get_osfhandle(fileno(dest_file)));
 #else

src/AtomicParsley.h

 #endif
 
 
-#if defined (_WIN32) || defined (_MSC_VER)
-#define MAXPATHLEN 255
+#ifndef MAXPATHLEN
+# define MAXPATHLEN
 #endif
 
 #if defined (_MSC_VER)