Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: third_party/libxml/src/win32/wince/wincecompat.h

Issue 1752223002: Roll libxml to 2.9.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-cherry-pick fprintf formatting fix. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/libxml/src/win32/wince/wincecompat.h
diff --git a/third_party/libxml/src/win32/wince/wincecompat.h b/third_party/libxml/src/win32/wince/wincecompat.h
deleted file mode 100644
index aa0f3dce24da8438f166689d2f123d0aac63e09b..0000000000000000000000000000000000000000
--- a/third_party/libxml/src/win32/wince/wincecompat.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * wincecompat.h : wince compatiblity header file
- *
- * See Copyright for the status of this software.
- *
- * javier@tiresiassoft.com
- *
- * 17 Sep 2002 created
- */
-
-#ifndef __WINCECOMPAT_H__
-#define __WINCECOMPAT_H__
-
-#include <stdio.h>
-#include <winbase.h>
-
-#define MAX_STRERROR 31
-
-#define O_RDONLY 0x0000 /* open for reading only */
-#define O_WRONLY 0x0001 /* open for writing only */
-#define O_RDWR 0x0002 /* open for reading and writing */
-#define O_APPEND 0x0008 /* writes done at eof */
-
-#define O_CREAT 0x0100 /* create and open file */
-#define O_TRUNC 0x0200 /* open and truncate */
-#define O_EXCL 0x0400 /* open only if file doesn't already exist */
-
-#define BUFSIZ 4096
-
-extern int errno;
-/*
- Prototypes
-*/
-int read(int handle, char *buffer, unsigned int len);
-int write(int handle, const char *buffer, unsigned int len);
-int open(const char *filename,int oflag, ...);
-int close(int handle);
-char *getenv( const char *varname );
-char *getcwd( char *buffer, unsigned int size);
-char *strerror(int errnum);
-
-/*
- Macro'ed inexistant funtion names
-
-*/
-#define snprintf _snprintf
-#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
-#define perror(_t) MessageBox(NULL, _T("_t"), _T("Error/Warning"), MB_OK)
-
-#endif

Powered by Google App Engine
This is Rietveld 408576698