mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Removing unused files. Not part of build. r=mkaply.
This commit is contained in:
parent
4edb2a3beb
commit
983e3e58e2
@ -1,74 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
Stuff to fake unix file I/O on os2 boxes
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef OS2FILE_H
|
||||
#define OS2FILE_H
|
||||
|
||||
#if defined(XP_OS2)
|
||||
/* 32-bit stuff here */
|
||||
#define INCL_DOSPROCESS
|
||||
#define INCL_DOS
|
||||
#define INCL_DOSERRORS
|
||||
#define INCL_DOSFILEMGR
|
||||
#define INCL_DOSMODULEMGR
|
||||
#define INCL_PM
|
||||
|
||||
|
||||
#define INCL_WIN
|
||||
#define INCL_WINATOM
|
||||
#define INCL_GPI
|
||||
#include <os2.h>
|
||||
|
||||
|
||||
/*DAK these are empty.. #include <windef.h> */
|
||||
/*DAK these are empty.. #include <winbase.h>*/
|
||||
#include <stdlib.h>
|
||||
#include <sys\types.h>
|
||||
#include <sys\stat.h>
|
||||
#include "dirent.h"
|
||||
|
||||
#ifdef XP_OS2_VACPP
|
||||
/*DSR020697 - now using dirent.h for DIR...*/
|
||||
|
||||
#define _ST_FSTYPSZ 16
|
||||
//typedef unsigned long mode_t;
|
||||
//typedef long uid_t;
|
||||
//typedef long gid_t;
|
||||
typedef unsigned long nlink_t;
|
||||
#endif
|
||||
|
||||
typedef struct timestruc {
|
||||
time_t tv_sec; /* seconds */
|
||||
long tv_nsec; /* and nanoseconds */
|
||||
} timestruc_t;
|
||||
|
||||
/*DSR020697 - now using dirent.h for dirent, S_ISDIR...*/
|
||||
|
||||
#endif /* XP_OS2 */
|
||||
|
||||
#define CONST const
|
||||
|
||||
#endif /* OS2FILE_H */
|
@ -1,76 +0,0 @@
|
||||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
/* New file created by IBM-VPB050196 */
|
||||
#ifndef _OS2SOCK_H
|
||||
#define _OS2SOCK_H
|
||||
#if !defined(RC_INVOKED)
|
||||
#include "mcom_db.h"
|
||||
#endif
|
||||
|
||||
/*DSR050297 - this is based on types.h in the TCP/IP headers... */
|
||||
/*I'm not including types.h because that causes all sorts of damage... */
|
||||
#ifndef MAXHOSTNAMELEN
|
||||
#define MAXHOSTNAMELEN 120
|
||||
#endif
|
||||
|
||||
/*#if defined(XP_OS2_DOUGSOCK)*/
|
||||
#if 1
|
||||
/*#ifndef BSD_SELECT*/
|
||||
#if 0
|
||||
#error you need BSD_SELECT defined in your command line for all files
|
||||
#endif
|
||||
/*#include <nerrno.h>*/
|
||||
#include <sys\socket.h>
|
||||
#include <sys\select.h>
|
||||
#include <sys\time.h>
|
||||
#include <sys\ioctl.h>
|
||||
#include <netdb.h>
|
||||
/*#include <utils.h>*/
|
||||
|
||||
#else
|
||||
/*DSR072196 - replaced many files with pmwsock.h...*/
|
||||
#include <pmwsock.h>
|
||||
|
||||
#ifndef IP_MULTICAST_IF
|
||||
#define IP_MULTICAST_IF 2 /* set/get IP multicast interface*/
|
||||
#define IP_MULTICAST_TTL 3 /* set/get IP multicast timetolive*/
|
||||
#define IP_MULTICAST_LOOP 4 /* set/get IP multicast loopback */
|
||||
#define IP_ADD_MEMBERSHIP 5 /* add an IP group membership */
|
||||
#define IP_DROP_MEMBERSHIP 6 /* drop an IP group membership */
|
||||
|
||||
#define IP_DEFAULT_MULTICAST_TTL 1 /* normally limit m'casts to 1 hop */
|
||||
#define IP_DEFAULT_MULTICAST_LOOP 1 /* normally hear sends if a member */
|
||||
#define IP_MAX_MEMBERSHIPS 20 /* per socket; must fit in one mbuf*/
|
||||
|
||||
/*
|
||||
* Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP.
|
||||
*/
|
||||
struct ip_mreq {
|
||||
struct in_addr imr_multiaddr; /* IP multicast address of group */
|
||||
struct in_addr imr_interface; /* local IP address of interface */
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user