Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcaf866f authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge ""utils/Errors.h": include <stdint.h> for `int32_t`." am: 86c56953 am: 5f9b7b1f

am: 03c9ab32

Change-Id: I7cf4541f1b327b9fb8fb736371055508b7c985dc
parents b7f5348d 03c9ab32
Loading
Loading
Loading
Loading
+8 −15
Original line number Diff line number Diff line
@@ -14,22 +14,19 @@
 * limitations under the License.
 */

#ifndef ANDROID_ERRORS_H
#define ANDROID_ERRORS_H
#pragma once

#include <sys/types.h>
#include <errno.h>
#include <stdint.h>
#include <sys/types.h>

namespace android {

// use this type to return error codes
#ifdef _WIN32
typedef int         status_t;
#else
/**
 * The type used to return success/failure from frameworks APIs.
 * See the anonymous enum below for valid values.
 */
typedef int32_t status_t;
#endif

/* the MS C runtime lacks a few error codes */

/*
 * Error codes. 
@@ -82,7 +79,3 @@ enum {
#endif

}  // namespace android

// ---------------------------------------------------------------------------
    
#endif // ANDROID_ERRORS_H