mirror of
https://github.com/samba-team/samba.git
synced 2025-12-09 00:23:50 +03:00
r15261: Work around AIX defining open as open64 again
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
a492cd4bd4
commit
05f5f3da8f
@@ -25,8 +25,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
#include "system/filesys.h"
|
|
||||||
#include "ntvfs/ntvfs.h"
|
#include "ntvfs/ntvfs.h"
|
||||||
|
#include "system/filesys.h"
|
||||||
|
|
||||||
/* this is stored in ntvfs_private */
|
/* this is stored in ntvfs_private */
|
||||||
struct nbench_private {
|
struct nbench_private {
|
||||||
@@ -314,7 +314,7 @@ static NTSTATUS nbench_open(struct ntvfs_module_context *ntvfs,
|
|||||||
{
|
{
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
#undef open
|
#undef open /* AIX defines open to be open64 */
|
||||||
PASS_THRU_REQ(ntvfs, req, open, io, (ntvfs, req, io));
|
PASS_THRU_REQ(ntvfs, req, open, io, (ntvfs, req, io));
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user