summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2015-06-01 23:39:58 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2015-06-01 23:50:27 -0700
commit784a0e9078bc1c4145b0cb0a86045fe0f72fb691 (patch)
treee57312afd0c78d7c6ef1a266be834a1465e2688b
parent6e9565c91fca092f69111a40fa56eabe41c60ff4 (diff)
downloadrabbitmq-c-784a0e9078bc1c4145b0cb0a86045fe0f72fb691.tar.gz
ycm: add -std=gnu90 -DHAVE_POLL flags to ycm config.
-rw-r--r--.ycm_extra_conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py
index 136e97d..75104ed 100644
--- a/.ycm_extra_conf.py
+++ b/.ycm_extra_conf.py
@@ -43,7 +43,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
-'-std=c89',
+'-std=gnu90',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.
@@ -51,6 +51,7 @@ flags = [
'-x',
'c',
'-I', './librabbitmq',
+'-D', 'HAVE_POLL',
]