mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +01:00
Some work on Solaris port
This commit is contained in:
parent
4554a02ef7
commit
a5f1e2f3be
@ -35,7 +35,7 @@
|
|||||||
* 2002.04.16 Paul Beach - HP10 and unistd.h
|
* 2002.04.16 Paul Beach - HP10 and unistd.h
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
$Id: common.h,v 1.32 2002-09-23 10:41:07 dimitr Exp $
|
$Id: common.h,v 1.33 2002-09-25 06:22:42 kkuznetsov Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef JRD_COMMON_H
|
#ifndef JRD_COMMON_H
|
||||||
@ -307,8 +307,14 @@ typedef RETSIGTYPE (*SIG_FPTR) ();
|
|||||||
* Hey, we're not running on PDP-11's any more: would it kill you
|
* Hey, we're not running on PDP-11's any more: would it kill you
|
||||||
* to use a short instead of a char to hold the fileno? :-(
|
* to use a short instead of a char to hold the fileno? :-(
|
||||||
*/
|
*/
|
||||||
#define NEED_IB_STDIO
|
|
||||||
|
|
||||||
|
/* Why we (solarises) need to rewrite old BSD stdio
|
||||||
|
so many times I suggest stdIO from
|
||||||
|
http://www.research.att.com/sw/tools/sfio/
|
||||||
|
*/
|
||||||
|
#ifndef SFIO
|
||||||
|
#define NEED_IB_STDIO
|
||||||
|
#endif
|
||||||
/* Define the following macro only on platforms which supply the library
|
/* Define the following macro only on platforms which supply the library
|
||||||
routine xdr_hyper. For other platforms, omit the definition of this
|
routine xdr_hyper. For other platforms, omit the definition of this
|
||||||
macro, and we will supply that function where we need it. */
|
macro, and we will supply that function where we need it. */
|
||||||
|
@ -104,9 +104,12 @@
|
|||||||
* for stdio.
|
* for stdio.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef SOLX86
|
||||||
|
#error SUN
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "source/jrd/cdefs.h"
|
#include "../jrd/cdefs.h"
|
||||||
#include "source/jrd/ansi.h"
|
#include "../jrd/ansi.h"
|
||||||
|
|
||||||
#ifdef _BSD_SIZE_T_
|
#ifdef _BSD_SIZE_T_
|
||||||
typedef _BSD_SIZE_T_ size_t;
|
typedef _BSD_SIZE_T_ size_t;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
* Contributor(s): ______________________________________.
|
* Contributor(s): ______________________________________.
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
$Id: thd.h,v 1.6 2002-08-22 08:20:27 dimitr Exp $
|
$Id: thd.h,v 1.7 2002-09-25 06:22:42 kkuznetsov Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _JRD_THD_H_
|
#ifndef _JRD_THD_H_
|
||||||
@ -241,12 +241,13 @@ typedef struct rec_mutx_t {
|
|||||||
} REC_MUTX_T, *REC_MUTX;
|
} REC_MUTX_T, *REC_MUTX;
|
||||||
|
|
||||||
/* Combined mutex and condition variable structure */
|
/* Combined mutex and condition variable structure */
|
||||||
|
#ifndef SOLARIS
|
||||||
typedef struct cond_t {
|
typedef struct cond_t {
|
||||||
THD_MUTEX_STRUCT cond_mutex;
|
THD_MUTEX_STRUCT cond_mutex;
|
||||||
THD_COND_STRUCT cond_cond;
|
THD_COND_STRUCT cond_cond;
|
||||||
} COND_T, *COND;
|
} COND_T, *COND;
|
||||||
|
|
||||||
|
#endif
|
||||||
/* Read/write lock structure */
|
/* Read/write lock structure */
|
||||||
|
|
||||||
typedef struct wlck_t {
|
typedef struct wlck_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user