mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Replace NSS with Pale Moon's
This commit is contained in:
parent
ff1e5e48bf
commit
8c2e376f94
2870 changed files with 1762232 additions and 1374220 deletions
|
|
@ -15,17 +15,9 @@ DEFINES += -DSTDC_HEADERS -DHAVE_STRERROR
|
|||
# Most platforms have snprintf, so it's simpler to list the exceptions.
|
||||
#
|
||||
HAVE_SNPRINTF = 1
|
||||
#
|
||||
# OSF1 V4.0D doesn't have snprintf but V5.0A does.
|
||||
#
|
||||
ifeq ($(OS_TARGET)$(OS_RELEASE),OSF1V4.0D)
|
||||
HAVE_SNPRINTF =
|
||||
endif
|
||||
ifdef HAVE_SNPRINTF
|
||||
DEFINES += -DHAVE_SNPRINTF
|
||||
endif
|
||||
|
||||
ifeq (,$(filter-out DGUX NCR ReliantUNIX SCO_SV SCOOS UNIXWARE,$(OS_TARGET)))
|
||||
ifeq (,$(filter-out NCR ReliantUNIX SCO_SV SCOOS UNIXWARE,$(OS_TARGET)))
|
||||
DEFINES += -DHAVE_SYS_BYTEORDER_H
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -44,4 +44,3 @@ include $(CORE_DEPTH)/coreconf/rules.mk
|
|||
# (7) Execute "local" rules. (OPTIONAL). #
|
||||
#######################################################################
|
||||
|
||||
export:: private_export
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
#endif
|
||||
#include "prtypes.h"
|
||||
|
||||
#if !defined(XP_BEOS) && !defined(XP_OS2) && !defined(XP_UNIX) || defined(NTO)
|
||||
#if !defined(XP_OS2) && !defined(XP_UNIX) || defined(NTO)
|
||||
typedef PRUintn uint;
|
||||
#endif
|
||||
typedef PRUint8 uint8;
|
||||
|
|
@ -60,7 +60,7 @@ typedef PRUint32 uint32;
|
|||
#include <sys/byteorder.h>
|
||||
#endif
|
||||
|
||||
#if defined(__linux) || defined(__BEOS__)
|
||||
#if defined(__linux)
|
||||
#include <endian.h>
|
||||
#ifndef BYTE_ORDER
|
||||
#define BYTE_ORDER __BYTE_ORDER
|
||||
|
|
|
|||
|
|
@ -11,12 +11,6 @@ DEFINES += -DMEMMOVE -D__DBINTERFACE_PRIVATE
|
|||
# are specifed as dependencies within rules.mk.
|
||||
#
|
||||
|
||||
TARGETS = $(LIBRARY)
|
||||
SHARED_LIBRARY =
|
||||
IMPORT_LIBRARY =
|
||||
PURE_LIBRARY =
|
||||
PROGRAM =
|
||||
|
||||
ifdef SHARED_LIBRARY
|
||||
ifeq (,$(filter-out WIN%,$(OS_TARGET)))
|
||||
DLLBASE=/BASE:0x30000000
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ struct dirent {
|
|||
#else
|
||||
char d_name[MAXNAMLEN + 1]; /* garentee null termination */
|
||||
char d_attribute; /* .. extension .. */
|
||||
unsigned long d_size; /* .. extension .. */
|
||||
unsigned long d_size; /* .. extension .. */
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -26,3 +26,4 @@ CSRCS = db.c \
|
|||
$(NULL)
|
||||
|
||||
LIBRARY_NAME = dbm
|
||||
SHARED_LIBRARY = $(NULL)
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@ MakeSmallKey(int32 num)
|
|||
|
||||
rv.data = data_string;
|
||||
|
||||
sprintf(data_string, "%ld", (long)num);
|
||||
snprintf(data_string, sizeof(data_string), "%ld", (long)num);
|
||||
rv.size = strlen(data_string);
|
||||
|
||||
return (&rv);
|
||||
|
|
@ -192,7 +192,7 @@ VerifyData(DBT *data, int32 num, key_type_enum key_type)
|
|||
size_t size;
|
||||
int32 *int32_array;
|
||||
|
||||
/* The first int32 is count
|
||||
/* The first int32 is count
|
||||
* The other n entries should
|
||||
* all equal num
|
||||
*/
|
||||
|
|
@ -357,7 +357,7 @@ AddOrDelRange(int32 low, int32 high, int action, key_type_enum key_type)
|
|||
#endif
|
||||
|
||||
#if 0 /* only do this if your really analy checking the puts */
|
||||
|
||||
|
||||
/* make sure we can still get it
|
||||
*/
|
||||
status = (*database->get)(database, key, &tmp_data, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue