~ubuntu-branches/ubuntu/saucy/libdvdread/saucy

« back to all changes in this revision

Viewing changes to msvc/include/unistd.h

  • Committer: Package Import Robot
  • Author(s): Bryce Harrington
  • Date: 2011-11-28 17:12:51 UTC
  • mfrom: (1.1.4) (3.2.10 sid)
  • Revision ID: package-import@ubuntu.com-20111128171251-fxbi0nd6rrz3lsfb
Tags: 4.2.0-1ubuntu1
* Merge from debian testing.  Remaining changes:
  - Re-add missing install-css.sh. Update the script with patch by Gene Cumm
    for dynamic version calculation.
  - debian/control: add Suggests for install-css.sh on wget, debhelper, etc.
  - debian/rules: install install-css.sh, leave perms executable.
  - 100-quell-vts-tmapt-warning.patch - Don't recommend sending bug
    reports when VTS_TMAPT is missing
  - 102-reorder-linkage.patch - Fix link order for shared library loading.
* Drop 101-fix-msb-unicode.patch; fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 * GNU General Public License for more details.
15
15
 *
16
16
 * You should have received a copy of the GNU General Public License
17
 
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
 
17
 * along with this program; if not, write to the Free Software Foundation,
 
18
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
 *
20
20
 * WIN32 PORT,
21
21
 * by Matthew Grooms <elon@altavista.com>
22
22
 *
23
23
 * unistd.h - This is mostly a catch all header that maps standard unix
24
 
 *            libc calls to the equivelent win32 functions.
 
24
 *            libc calls to the equivalent win32 functions.
25
25
 *
26
26
 */
27
27
 
37
37
 
38
38
#define inline __inline
39
39
 
40
 
#define mkdir( A, B )   _mkdir( A )
41
 
#define lstat                   stat
 
40
#define mkdir( A, B )   _mkdir( A )
 
41
#define lstat                   stat
42
42
 
43
43
#ifndef S_ISDIR
44
 
#define S_ISDIR(A)              ( S_IFDIR & A )
 
44
#define S_ISDIR(A)              ( S_IFDIR & A )
45
45
#endif
46
46
 
47
 
#define S_IXUSR                 S_IEXEC
48
 
#define S_IXGRP                 S_IEXEC
49
 
#define S_IXOTH                 S_IEXEC
 
47
#define S_IXUSR                 S_IEXEC
 
48
#define S_IXGRP                 S_IEXEC
 
49
#define S_IXOTH                 S_IEXEC
50
50
 
51
 
#define  M_PI                   3.14159265358979323846  /* pi */
 
51
#define  M_PI                   3.14159265358979323846  /* pi */
52
52
 
53
53
#define bzero( A, B ) memset( A, 0, B )
54
54
 
63
63
#define snprintf _snprintf
64
64
#define vsnprintf _vsnprintf
65
65
 
66
 
// FIXME : I dont remember why this is here
 
66
// FIXME : I don't remember why this is here
67
67
#define readlink
68
68
 
69
69
#endif