~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:15:51 UTC
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107001551-8vxb6sf1ti0i5p09
Cleaned up some headers for PCH.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include CSTDINT_H
21
 
 
22
20
/**
23
21
 * @file
24
22
 *
28
26
#ifndef DRIZZLE_SERVER_DEFINITIONS_H
29
27
#define DRIZZLE_SERVER_DEFINITIONS_H
30
28
 
 
29
#if defined(__cplusplus)
 
30
#include CSTDINT_H
 
31
#else
 
32
#include <stdint.h>
 
33
#endif
 
34
 
31
35
#ifndef NO_ALARM_LOOP
32
36
#define NO_ALARM_LOOP           /* lib5 and popen can't use alarm */
33
37
#endif
484
488
/**
485
489
   The maximum is defined as (ULONG_MAX/1000) with 4 bytes uint32_t
486
490
*/
487
 
const uint32_t SLAVE_MAX_HEARTBEAT_PERIOD= 4294967;
 
491
static const uint32_t SLAVE_MAX_HEARTBEAT_PERIOD= 4294967;
488
492
 
489
493
#define SLAVE_NET_TIMEOUT  3600
490
494
 
878
882
 
879
883
enum SHOW_COMP_OPTION { SHOW_OPTION_YES, SHOW_OPTION_NO, SHOW_OPTION_DISABLED};
880
884
 
 
885
typedef int myf;
 
886
#define MYF(v)          (myf) (v)
 
887
 
881
888
#endif /* DRIZZLE_SERVER_DEFINITIONS_H */