Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67c92f4

Browse files
committed
Fix up the alpha port/dynloader for configure
1 parent68c6ddb commit67c92f4

File tree

3 files changed

+40
-21
lines changed

3 files changed

+40
-21
lines changed

‎src/backend/port/alpha/port-protos.h

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,14 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: port-protos.h,v 1.3 1997/09/08 02:25:47 momjian Exp $
9+
* $Id: port-protos.h,v 1.4 1998/02/02 03:49:07 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
1313

1414
#ifndefPORT_PROTOS_H
1515
#definePORT_PROTOS_H
1616

17-
#include<dlfcn.h>
18-
#include"utils/dynamic_loader.h"
19-
20-
/* dynloader.c */
21-
22-
/*
23-
* Dynamic Loader on Alpha OSF/1.x
24-
*
25-
* this dynamic loader uses the system dynamic loading interface for shared
26-
* libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared
27-
* library as the file to be dynamically loaded.
28-
*
29-
*/
30-
#definepg_dlopen(f)dlopen(f, RTLD_LAZY)
31-
#definepg_dlsym(h,f) ((func_ptr)dlsym(h, f))
32-
#definepg_dlclose(h)dlclose(h)
33-
#definepg_dlerror()dlerror()
34-
35-
/* port.c */
36-
3717
externvoidinit_address_fixup(void);
3818

3919
#endif/* PORT_PROTOS_H */

‎src/backend/port/dynloader/alpha.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* Dummy file used for nothing at this point
2+
*
3+
* see alpha.h
4+
*/

‎src/backend/port/dynloader/alpha.h

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*-------------------------------------------------------------------------
2+
*
3+
* alpha.h--
4+
* prototypes for OSF/1-specific routines
5+
*
6+
*
7+
* Copyright (c) 1994, Regents of the University of California
8+
*
9+
* $Id: alpha.h,v 1.1 1998/02/02 03:49:11 scrappy Exp $
10+
*
11+
*-------------------------------------------------------------------------
12+
*/
13+
14+
#ifndefPORT_PROTOS_H
15+
#definePORT_PROTOS_H
16+
17+
#include<dlfcn.h>
18+
#include"utils/dynamic_loader.h"
19+
20+
/* dynloader.c */
21+
22+
/*
23+
* Dynamic Loader on Alpha OSF/1.x
24+
*
25+
* this dynamic loader uses the system dynamic loading interface for shared
26+
* libraries (ie. dlopen/dlsym/dlclose). The user must specify a shared
27+
* library as the file to be dynamically loaded.
28+
*
29+
*/
30+
#definepg_dlopen(f)dlopen(f, RTLD_LAZY)
31+
#definepg_dlsym(h,f) ((func_ptr)dlsym(h, f))
32+
#definepg_dlclose(h)dlclose(h)
33+
#definepg_dlerror()dlerror()
34+
35+
#endif/* PORT_PROTOS_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp