Navigation Menu

Skip to content

Commit

Permalink
Change header file name
Browse files Browse the repository at this point in the history
Because the header file is for portability not compatibility.
  • Loading branch information
kou committed Apr 15, 2015
1 parent 8d3cb01 commit 442f9b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/groonga.h
Expand Up @@ -18,7 +18,7 @@
#ifndef GROONGA_H
#define GROONGA_H

#include "groonga/compat.h"
#include "groonga/portability.h"
#include "groonga/groonga.h"
#include "groonga/obj.h"
#include "groonga/ii.h"
Expand Down
2 changes: 1 addition & 1 deletion include/groonga/Makefile.am
@@ -1,13 +1,13 @@
groonga_includedir = $(pkgincludedir)/groonga
groonga_include_HEADERS = \
command.h \
compat.h \
expr.h \
groonga.h \
ii.h \
obj.h \
output.h \
plugin.h \
portability.h \
request_canceler.h \
scorer.h \
token.h \
Expand Down
6 changes: 3 additions & 3 deletions include/groonga/compat.h → include/groonga/portability.h
Expand Up @@ -15,8 +15,8 @@
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef GROONGA_COMPAT_H
#define GROONGA_COMPAT_H
#ifndef GROONGA_PORTABILITY_H
#define GROONGA_PORTABILITY_H

#ifdef WIN32
# ifdef __cplusplus
Expand Down Expand Up @@ -61,4 +61,4 @@
} while (0)
#endif /* WIN32 */

#endif /* GROONGA_COMPAT_H */
#endif /* GROONGA_PORTABILITY_H */

0 comments on commit 442f9b0

Please sign in to comment.