mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 15:23:02 +01:00
Correction
This commit is contained in:
parent
48b2d94c30
commit
606dee7a14
@ -122,18 +122,20 @@ inline void THPS_ENTER(){
|
||||
}
|
||||
inline void THPS_EXIT(){
|
||||
}
|
||||
#ifdef WIN_NT
|
||||
inline thdd* THPS_GET(DWORD specific_key){
|
||||
return (thdd*) TlsGetValue(specific_key);
|
||||
}
|
||||
inline void THPS_SET(DWORD specific_key, thdd* new_context){
|
||||
TlsSetValue(specific_key, (LPVOID) new_context);
|
||||
}
|
||||
inline void THPS_ATTACH(HANDLE handle, DWORD thread_id, int priority){
|
||||
}
|
||||
#endif
|
||||
inline void THPS_INIT(){
|
||||
}
|
||||
inline void THPS_FINI(){
|
||||
}
|
||||
inline void THPS_ATTACH(HANDLE handle, DWORD thread_id, int priority){
|
||||
}
|
||||
inline bool THPS_BOOSTDONE() {
|
||||
return false;
|
||||
}
|
||||
|
@ -351,7 +351,7 @@ enum state_t
|
||||
|
||||
|
||||
#ifndef WIN_NT
|
||||
typdef int HANDLE;
|
||||
typedef int HANDLE;
|
||||
#endif /* WIN_NT */
|
||||
|
||||
|
||||
|
@ -44,47 +44,29 @@
|
||||
|
||||
#ifdef VMS
|
||||
const P_ARCH ARCHITECTURE = arch_vms;
|
||||
#endif
|
||||
|
||||
#ifdef sun
|
||||
#ifdef sparc
|
||||
#elif defined(sun)
|
||||
# ifdef sparc
|
||||
const P_ARCH ARCHITECTURE = arch_sun4;
|
||||
#elif defined(i386)
|
||||
# elif defined(i386)
|
||||
const P_ARCH ARCHITECTURE = arch_sun386;
|
||||
#else
|
||||
# else
|
||||
const P_ARCH ARCHITECTURE = arch_sun;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef hpux
|
||||
# endif
|
||||
#elif defined(hpux)
|
||||
const P_ARCH ARCHITECTURE = arch_hpux;
|
||||
#endif
|
||||
|
||||
#if (defined AIX || defined AIX_PPC)
|
||||
#elif (defined AIX || defined AIX_PPC)
|
||||
const P_ARCH ARCHITECTURE = arch_rt;
|
||||
#endif
|
||||
|
||||
#ifdef SCO_EV
|
||||
#elif defined(SCO_EV)
|
||||
const P_ARCH ARCHITECTURE = arch_sco_ev;
|
||||
#endif
|
||||
|
||||
#ifdef LINUX
|
||||
#elif defined(LINUX)
|
||||
const P_ARCH ARCHITECTURE = arch_linux;
|
||||
#endif
|
||||
|
||||
#ifdef FREEBSD
|
||||
#elif defined(FREEBSD)
|
||||
const P_ARCH ARCHITECTURE = arch_freebsd;
|
||||
#endif
|
||||
|
||||
#ifdef NETBSD
|
||||
#elif defined(NETBSD)
|
||||
const P_ARCH ARCHITECTURE = arch_netbsd;
|
||||
#endif
|
||||
|
||||
#ifdef DARWIN
|
||||
#elif defined(DARWIN)
|
||||
const P_ARCH ARCHITECTURE = arch_darwin_ppc;
|
||||
#endif
|
||||
|
||||
#ifdef I386
|
||||
#elif defined(I386)
|
||||
const P_ARCH ARCHITECTURE = arch_intel_32;
|
||||
#endif
|
||||
|
||||
|
@ -15,20 +15,10 @@
|
||||
*
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
* $Id: guard.cpp,v 1.7 2004-05-17 00:21:46 brodsom Exp $
|
||||
* $Id: guard.cpp,v 1.8 2004-05-18 00:45:46 brodsom Exp $
|
||||
*/
|
||||
/* contains the main() and not shared routines for ibguard */
|
||||
|
||||
const USHORT FOREVER = 1;
|
||||
const USHORT ONETIME = 2;
|
||||
const USHORT IGNORE = 3;
|
||||
const USHORT NORMAL_EXIT= 0;
|
||||
|
||||
const char* SUPER_SERVER_BINARY = "bin/fbserver";
|
||||
|
||||
const char* INTERBASE_USER = "interbase";
|
||||
const char* FIREBIRD_USER = "firebird";
|
||||
const char* INTERBASE_USER_SHORT= "interbas";
|
||||
|
||||
#include "firebird.h"
|
||||
#include <stdio.h>
|
||||
@ -51,6 +41,16 @@ const char* INTERBASE_USER_SHORT= "interbas";
|
||||
#include "../jrd/file_params.h"
|
||||
#include "../utilities/guard/util_proto.h"
|
||||
|
||||
const USHORT FOREVER = 1;
|
||||
const USHORT ONETIME = 2;
|
||||
const USHORT IGNORE = 3;
|
||||
const USHORT NORMAL_EXIT= 0;
|
||||
|
||||
const char* SUPER_SERVER_BINARY = "bin/fbserver";
|
||||
|
||||
const char* INTERBASE_USER = "interbase";
|
||||
const char* FIREBIRD_USER = "firebird";
|
||||
const char* INTERBASE_USER_SHORT= "interbas";
|
||||
|
||||
int CLIB_ROUTINE main( int argc, char **argv)
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
*
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
* $Id: ibmgr.h,v 1.7 2004-05-17 00:28:58 brodsom Exp $
|
||||
* $Id: ibmgr.h,v 1.8 2004-05-18 00:45:14 brodsom Exp $
|
||||
*/
|
||||
|
||||
#ifndef UTILITIES_IBMGR_H
|
||||
@ -27,12 +27,12 @@
|
||||
|
||||
#define OUTFILE stderr
|
||||
|
||||
const char* SYSDBA_USER_NAME = "SYSDBA";
|
||||
const char* FIREBIRD_USER_NAME = "firebird";
|
||||
const char* INTERBASE_USER_NAME = "interbase";
|
||||
const char* INTERBASE_USER_SHORT= "interbas";
|
||||
const char* SERVER_GUARDIAN = "bin/fbguard";
|
||||
const char* USER_INFO_NAME = "security.fdb";
|
||||
static const char* SYSDBA_USER_NAME = "SYSDBA";
|
||||
static const char* FIREBIRD_USER_NAME = "firebird";
|
||||
static const char* INTERBASE_USER_NAME = "interbase";
|
||||
static const char* INTERBASE_USER_SHORT= "interbas";
|
||||
static const char* SERVER_GUARDIAN = "bin/fbguard";
|
||||
static const char* USER_INFO_NAME = "security.fdb";
|
||||
|
||||
const USHORT MSG_FAC = 18;
|
||||
const int MSG_LEN = 128;
|
||||
|
Loading…
Reference in New Issue
Block a user