Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
61768c07
Commit
61768c07
authored
Jan 08, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Get rid of the check for getpagesize.
parent
cef0fde5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
50 deletions
+1
-50
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
config.h.in
include/config.h.in
+0
-3
port.h
include/wine/port.h
+1
-5
Makefile.in
libs/port/Makefile.in
+0
-1
getpagesize.c
libs/port/getpagesize.c
+0
-39
No files found.
configure
View file @
61768c07
...
...
@@ -12963,7 +12963,6 @@ for ac_func in \
getattrlist
\
getdirentries
\
getopt_long_only
\
getpagesize
\
getpwuid
\
gettimeofday
\
getuid
\
...
...
configure.ac
View file @
61768c07
...
...
@@ -1999,7 +1999,6 @@ AC_CHECK_FUNCS(\
getattrlist \
getdirentries \
getopt_long_only \
getpagesize \
getpwuid \
gettimeofday \
getuid \
...
...
include/config.h.in
View file @
61768c07
...
...
@@ -212,9 +212,6 @@
/* Define to 1 if you have the `getopt_long_only' function. */
#undef HAVE_GETOPT_LONG_ONLY
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define to 1 if you have the `getprotobyname' function. */
#undef HAVE_GETPROTOBYNAME
...
...
include/wine/port.h
View file @
61768c07
...
...
@@ -44,6 +44,7 @@
# include <process.h>
#endif
#include <string.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
...
...
@@ -257,10 +258,6 @@ extern int getopt_long_only (int ___argc, char *const *___argv,
int
ffs
(
int
x
);
#endif
#ifndef HAVE_GETPAGESIZE
size_t
getpagesize
(
void
);
#endif
/* HAVE_GETPAGESIZE */
#ifndef HAVE_ISINF
int
isinf
(
double
x
);
#endif
...
...
@@ -453,7 +450,6 @@ extern unsigned char interlocked_cmpxchg128( __int64 *dest, __int64 xchg_high,
#define fstatvfs __WINE_NOT_PORTABLE(fstatvfs)
#define getopt_long __WINE_NOT_PORTABLE(getopt_long)
#define getopt_long_only __WINE_NOT_PORTABLE(getopt_long_only)
#define getpagesize __WINE_NOT_PORTABLE(getpagesize)
#define interlocked_cmpxchg __WINE_NOT_PORTABLE(interlocked_cmpxchg)
#define interlocked_cmpxchg_ptr __WINE_NOT_PORTABLE(interlocked_cmpxchg_ptr)
#define interlocked_xchg __WINE_NOT_PORTABLE(interlocked_xchg)
...
...
libs/port/Makefile.in
View file @
61768c07
...
...
@@ -7,7 +7,6 @@ C_SRCS = \
fstatvfs.c
\
getopt.c
\
getopt1.c
\
getpagesize.c
\
interlocked.c
\
isinf.c
\
isnan.c
\
...
...
libs/port/getpagesize.c
deleted
100644 → 0
View file @
cef0fde5
/*
* getpagesize function
*
* Copyright 1996 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include "wine/port.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifndef HAVE_GETPAGESIZE
size_t
getpagesize
(
void
)
{
# ifdef __svr4__
return
sysconf
(
_SC_PAGESIZE
);
# elif defined(__i386__) || defined(__x86_64__)
return
4096
;
# else
# error Cannot get the page size on this platform
# endif
}
#endif
/* HAVE_GETPAGESIZE */
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