Skip to content

Commit

Permalink
Fix build with glib <2.44
Browse files Browse the repository at this point in the history
  • Loading branch information
cellscape committed May 21, 2015
1 parent a120643 commit 6f1de3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions notmuch-addrlookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,9 @@ main (int argc, char **argv)
atexit (global_cleanup);

GOptionContext *option_context = g_option_context_new ("search-string");
#if GLIB_CHECK_VERSION(2, 44, 0)
g_option_context_set_strict_posix (option_context, TRUE);
#endif
g_option_context_add_main_entries (option_context,
option_entries,
"notmuch-addrlookup-c");
Expand Down

0 comments on commit 6f1de3b

Please sign in to comment.