Skip to content

Commit

Permalink
add CHARDET_BINARY_SAFE macro for issue #8
Browse files Browse the repository at this point in the history
  • Loading branch information
Joungkyun committed May 5, 2016
1 parent 208d84c commit dd57c9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chardet.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
#define CHARDET_NO_RESULT 1
#define CHARDET_NULL_OBJECT 2

// support detect_r and detect_handledata_r API
#define CHARDET_BINARY_SAFE 1

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit dd57c9e

Please sign in to comment.