linux.hh (3113:a6811aaea654) linux.hh (3122:f6d56fc0a12d)
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 40 unchanged lines hidden (view full) ---

49///
50class Linux : public OperatingSystem
51{
52
53 public:
54
55 //@{
56 /// Basic Linux types.
1/*
2 * Copyright (c) 2004-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 40 unchanged lines hidden (view full) ---

49///
50class Linux : public OperatingSystem
51{
52
53 public:
54
55 //@{
56 /// Basic Linux types.
57/* typedef uint64_t size_t;
57 typedef uint64_t size_t;
58 typedef uint64_t off_t;
59 typedef int64_t time_t;
60 typedef uint32_t uid_t;
58 typedef uint64_t off_t;
59 typedef int64_t time_t;
60 typedef uint32_t uid_t;
61 typedef uint32_t gid_t;*/
61 typedef uint32_t gid_t;
62 //@}
63
64 /// Stat buffer. Note that we can't call it 'stat' since that
65 /// gets #defined to something else on some systems. This type
66 /// can be specialized by architecture specific "Linux" classes
67 typedef struct {
68 uint32_t st_dev; //!< device
69 uint32_t st_ino; //!< inode

--- 97 unchanged lines hidden ---
62 //@}
63
64 /// Stat buffer. Note that we can't call it 'stat' since that
65 /// gets #defined to something else on some systems. This type
66 /// can be specialized by architecture specific "Linux" classes
67 typedef struct {
68 uint32_t st_dev; //!< device
69 uint32_t st_ino; //!< inode

--- 97 unchanged lines hidden ---