2 |
libakai - C++ cross-platform akai sample disk reader |
libakai - C++ cross-platform akai sample disk reader |
3 |
Copyright (C) 2002-2003 Sébastien Métrot |
Copyright (C) 2002-2003 Sébastien Métrot |
4 |
|
|
5 |
Linux port by Christian Schoenebeck <cuse@users.sourceforge.net> 2003-2017 |
Linux port by Christian Schoenebeck <cuse@users.sourceforge.net> 2003-2019 |
6 |
|
|
7 |
This library is free software; you can redistribute it and/or |
This library is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU Lesser General Public |
modify it under the terms of the GNU Lesser General Public |
24 |
|
|
25 |
#include <stdio.h> |
#include <stdio.h> |
26 |
#include <string.h> |
#include <string.h> |
27 |
#include <unistd.h> |
#ifndef _MSC_VER |
28 |
#include <fcntl.h> |
# include <unistd.h> |
29 |
|
# include <fcntl.h> |
30 |
|
#endif |
31 |
#if defined(_CARBON_) || defined(__APPLE__) |
#if defined(_CARBON_) || defined(__APPLE__) |
32 |
# if defined (__GNUC__) && (__GNUC__ >= 4) |
# if defined (__GNUC__) && (__GNUC__ >= 4) |
33 |
# include <sys/disk.h> |
# include <sys/disk.h> |