[liblouis-liblouisxml] Should not expose LOG_* in liblouis.h

  • From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 27 May 2017 23:51:11 +0200

Hello,

While trying to include liblouis.h in some project, we got a conflict:

/usr/include/liblouis/liblouis.h:213:3: error: expected identifier before 
numeric constant
   LOG_DEBUG = 10000,
   ^

This is because the project already #defines LOG_DEBUG to some value.

Liblouis shouldn't expose such API without prepending a liblouis prefix.

Samuel
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: