/[svn]/libgig/trunk/src/Akai.cpp
ViewVC logotype

Diff of /libgig/trunk/src/Akai.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3053 by schoenebeck, Wed Dec 14 18:55:08 2016 UTC revision 3476 by schoenebeck, Wed Feb 20 19:12:49 2019 UTC
# Line 2  Line 2 
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-2014    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
# Line 24  Line 24 
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>
# Line 217  static struct _CDTOC * ReadTOC(const cha Line 219  static struct _CDTOC * ReadTOC(const cha
219      CFDictionaryRef properties = 0;      CFDictionaryRef properties = 0;
220      CFDataRef data = 0;      CFDataRef data = 0;
221      mach_port_t port = 0;      mach_port_t port = 0;
222      char *devname;      const char *devname;
223    
224      if ((devname = strrchr(devpath, '/')) != NULL) {      if ((devname = strrchr(devpath, '/')) != NULL) {
225          ++devname;          ++devname;

Legend:
Removed from v.3053  
changed lines
  Added in v.3476

  ViewVC Help
Powered by ViewVC