Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
88c55407
Commit
88c55407
authored
Aug 24, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SCO unix compile fix
parent
b06742ec
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
ndb/src/common/portlib/Makefile.am
ndb/src/common/portlib/Makefile.am
+1
-1
ndb/src/common/portlib/NdbTCP.cpp
ndb/src/common/portlib/NdbTCP.cpp
+3
-2
ndb/src/ndbapi/Ndbinit.cpp
ndb/src/ndbapi/Ndbinit.cpp
+1
-1
No files found.
ndb/src/common/portlib/Makefile.am
View file @
88c55407
...
@@ -4,7 +4,7 @@ noinst_LTLIBRARIES = libportlib.la
...
@@ -4,7 +4,7 @@ noinst_LTLIBRARIES = libportlib.la
libportlib_la_SOURCES
=
\
libportlib_la_SOURCES
=
\
NdbCondition.c NdbMutex.c NdbSleep.c NdbTick.c
\
NdbCondition.c NdbMutex.c NdbSleep.c NdbTick.c
\
NdbEnv.c NdbThread.c NdbHost.c NdbTCP.c
\
NdbEnv.c NdbThread.c NdbHost.c NdbTCP.c
pp
\
NdbDaemon.c NdbMem.c
NdbDaemon.c NdbMem.c
include
$(top_srcdir)/ndb/config/common.mk.am
include
$(top_srcdir)/ndb/config/common.mk.am
...
...
ndb/src/common/portlib/NdbTCP.c
→
ndb/src/common/portlib/NdbTCP.c
pp
View file @
88c55407
...
@@ -16,14 +16,15 @@
...
@@ -16,14 +16,15 @@
#include <NdbMutex.h>
#include <NdbMutex.h>
#include
"NdbTCP.h"
#include
<NdbTCP.h>
#if
def NDB_WIN32
#if
defined NDB_WIN32 || defined SCO
static
NdbMutex
&
LOCK_gethostbyname
=
*
NdbMutex_Create
();
static
NdbMutex
&
LOCK_gethostbyname
=
*
NdbMutex_Create
();
#else
#else
static
NdbMutex
LOCK_gethostbyname
=
NDB_MUTEX_INITIALIZER
;
static
NdbMutex
LOCK_gethostbyname
=
NDB_MUTEX_INITIALIZER
;
#endif
#endif
extern
"C"
int
int
Ndb_getInAddr
(
struct
in_addr
*
dst
,
const
char
*
address
)
{
Ndb_getInAddr
(
struct
in_addr
*
dst
,
const
char
*
address
)
{
struct
hostent
*
hostPtr
;
struct
hostent
*
hostPtr
;
...
...
ndb/src/ndbapi/Ndbinit.cpp
View file @
88c55407
...
@@ -43,7 +43,7 @@ static int theNoOfNdbObjects = 0;
...
@@ -43,7 +43,7 @@ static int theNoOfNdbObjects = 0;
static
char
*
ndbConnectString
=
0
;
static
char
*
ndbConnectString
=
0
;
#if
def NDB_WIN32
#if
defined NDB_WIN32 || defined SCO
static
NdbMutex
&
createNdbMutex
=
*
NdbMutex_Create
();
static
NdbMutex
&
createNdbMutex
=
*
NdbMutex_Create
();
#else
#else
static
NdbMutex
createNdbMutex
=
NDB_MUTEX_INITIALIZER
;
static
NdbMutex
createNdbMutex
=
NDB_MUTEX_INITIALIZER
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment