C++ doesn't have access() function

Brett Hoyle kickbits at gmail.com
Sun Jun 12 03:56:03 CEST 2011


MSVC is _access not access.

MSVC needs the below for the current code to work:

#include <io.h>
const int W_OK = 2;
const int R_OK = 4;

#define access _access


-----Original Message-----
From: Lukáš Lalinský [mailto:lalinsky at gmail.com] 
Sent: Sunday, 12 June 2011 4:21 AM
To: taglib-devel at kde.org
Subject: Re: C++ doesn't have access() function

2011/6/11 Anton Sergunov <setosha at gmail.com>:
> C++ doesn't have access() function. It's linux specific.

The function is definitely not Linux-specific, even MSVC supports it.
I broke it when I merged the abstract-io branch, because I removed some
include files.

Lukas
_______________________________________________
taglib-devel mailing list
taglib-devel at kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel



More information about the taglib-devel mailing list