Add "source" package architecture
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2011, Haiku, Inc.
|
* Copyright 2011-2013, Haiku, Inc.
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
#ifndef _PACKAGE__PACKAGE_ARCHITECTURE_H_
|
#ifndef _PACKAGE__PACKAGE_ARCHITECTURE_H_
|
||||||
@@ -13,6 +13,7 @@ enum BPackageArchitecture {
|
|||||||
B_PACKAGE_ARCHITECTURE_ANY = 0,
|
B_PACKAGE_ARCHITECTURE_ANY = 0,
|
||||||
B_PACKAGE_ARCHITECTURE_X86 = 1,
|
B_PACKAGE_ARCHITECTURE_X86 = 1,
|
||||||
B_PACKAGE_ARCHITECTURE_X86_GCC2 = 2,
|
B_PACKAGE_ARCHITECTURE_X86_GCC2 = 2,
|
||||||
|
B_PACKAGE_ARCHITECTURE_SOURCE = 3,
|
||||||
//
|
//
|
||||||
B_PACKAGE_ARCHITECTURE_ENUM_COUNT,
|
B_PACKAGE_ARCHITECTURE_ENUM_COUNT,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ const char* const kArchitectureNames[B_PACKAGE_ARCHITECTURE_ENUM_COUNT] = {
|
|||||||
"any",
|
"any",
|
||||||
"x86",
|
"x86",
|
||||||
"x86_gcc2",
|
"x86_gcc2",
|
||||||
|
"source",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -995,6 +995,7 @@ BPackageInfo::kArchitectureNames[B_PACKAGE_ARCHITECTURE_ENUM_COUNT] = {
|
|||||||
"any",
|
"any",
|
||||||
"x86",
|
"x86",
|
||||||
"x86_gcc2",
|
"x86_gcc2",
|
||||||
|
"source",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user