[sword-svn] r3065 - in trunk: include src/modules/common

chrislit at crosswire.org chrislit at crosswire.org
Tue Mar 4 09:36:57 MST 2014


Author: chrislit
Date: 2014-03-04 09:36:56 -0700 (Tue, 04 Mar 2014)
New Revision: 3065

Modified:
   trunk/include/xzcomprs.h
   trunk/src/modules/common/xzcomprs.cpp
Log:
moved lzma.h include into xzcomprs.cpp

Modified: trunk/include/xzcomprs.h
===================================================================
--- trunk/include/xzcomprs.h	2014-03-04 15:50:59 UTC (rev 3064)
+++ trunk/include/xzcomprs.h	2014-03-04 16:36:56 UTC (rev 3065)
@@ -24,12 +24,12 @@
 #ifndef XZCOMPRS_H
 #define XZCOMPRS_H
 
+#include <stdint.h>
+
 #include <swcomprs.h>
 
 #include <defs.h>
 
-#include <lzma.h>
-
 SWORD_NAMESPACE_START
 
 class SWDLLEXPORT XzCompress : public SWCompress {

Modified: trunk/src/modules/common/xzcomprs.cpp
===================================================================
--- trunk/src/modules/common/xzcomprs.cpp	2014-03-04 15:50:59 UTC (rev 3064)
+++ trunk/src/modules/common/xzcomprs.cpp	2014-03-04 16:36:56 UTC (rev 3065)
@@ -21,12 +21,14 @@
  *
  */
 
-
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <xzcomprs.h>
 
+#define LZMA_API_STATIC
+#include <lzma.h>
+
 #define XZ_PRESET 3 | LZMA_PRESET_EXTREME
 
 SWORD_NAMESPACE_START




More information about the sword-cvs mailing list