Navigation Menu

Skip to content

Commit

Permalink
LOCK_open is declared in C++ lincage.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 8, 2011
1 parent 7889e03 commit dd554b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ha_mroonga.cc
Expand Up @@ -60,16 +60,16 @@
#include "mrn_table.h"
#include "ha_mroonga.h"

#ifdef __cplusplus
extern "C" {
#endif

#if MYSQL_VERSION_ID >= 50500
extern mysql_mutex_t LOCK_open;
#else
extern pthread_mutex_t LOCK_open;
#endif

#ifdef __cplusplus
extern "C" {
#endif

/* global variables */
grn_obj *mrn_db;
grn_hash *mrn_hash;
Expand Down

0 comments on commit dd554b0

Please sign in to comment.