summaryrefslogtreecommitdiff
path: root/libcharsetdetect/nscore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcharsetdetect/nscore.h')
-rw-r--r--libcharsetdetect/nscore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcharsetdetect/nscore.h b/libcharsetdetect/nscore.h
new file mode 100644
index 0000000..0227e38
--- /dev/null
+++ b/libcharsetdetect/nscore.h
@@ -0,0 +1,5 @@
+#include "prtypes.h"
+#define NS_OK 0
+#define nsnull 0L
+typedef PRUint32 nsresult;
+#define NS_ERROR_OUT_OF_MEMORY ((nsresult) 0x8007000eL)