Permalink
Browse files

2008-10-05 Jim Huang <jserv.tw@gmail.com>

        * OVIMTobacco.cpp: Fix UNIX build.


git-svn-id: https://svn.csie.net/chewing/libchewing/branches/bigram@864 ac1be623-90ea-0310-9410-ba68b2efa777
  • Loading branch information...
1 parent 04cbe08 commit 63a3cd5c7f0ef8ac53f7b8c842d013e0655eb3a0 jserv committed Oct 4, 2008
Showing with 12 additions and 6 deletions.
  1. +4 −0 ChangeLog
  2. +7 −6 Makefile
  3. +1 −0 OVIMTobacco.cpp
View
@@ -1,3 +1,7 @@
+2008-10-05 Jim Huang <jserv.tw@gmail.com>
+
+ * OVIMTobacco.cpp: Fix UNIX build.
+
2005-10-31 Jim Huang <jserv@kaffe.org>
* tobacco-sqlconvert_general.pl,
View
@@ -1,9 +1,10 @@
-IMID=OVIMTobacco
-SOURCES=OVIMTobacco PredictorSingleton DictionarySingleton\
- Token Vocabulary Candidate BiGram
-DATA=imtables.db tsi.db
-CINS=bpmf_punctuation.cin
-LDFLAGS+=-lsqlite3
+IMID = OVIMTobacco
+SOURCES = \
+ OVIMTobacco PredictorSingleton DictionarySingleton \
+ Token Vocabulary Candidate BiGram
+DATA = imtables.db tsi.db
+CINS = bpmf_punctuation.cin
+LDFLAGS += -lsqlite3
include Mk/ov.os.mk
include Mk/ov.im.mk
View
@@ -19,6 +19,7 @@
#ifndef WIN32
//#include <sys/syslimits.h> //for PATH_MAX
#include <unistd.h>
+ #include <limits.h>
#else
#include <windows.h>
#define PATH_MAX MAX_PATH

0 comments on commit 63a3cd5

Please sign in to comment.