Home | History | Annotate | Download | only in Support
      1 //===- SystemUtils.h ------------------------------------------------------===//
      2 //
      3 //                     The MCLinker Project
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 #ifndef MCLD_SYSTEM_UTILS_H
     10 #define MCLD_SYSTEM_UTILS_H
     11 #ifdef ENABLE_UNITTEST
     12 #include <gtest.h>
     13 #endif
     14 
     15 #include <llvm/Support/DataTypes.h>
     16 #include <mcld/Config/Config.h>
     17 
     18 namespace mcld {
     19 namespace sys {
     20 
     21 typedef uint8_t* Address;
     22 typedef off_t Offset;
     23 
     24 /** \fn strerror
     25  *  \brief system error message
     26  */
     27 char *strerror(int pErrnum);
     28 
     29 } // namespace of sys
     30 } // namespace of mcld
     31 
     32 #endif
     33 
     34