mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-24 05:47:35 -04:00
Easy detection by build system.
This commit is contained in:
parent
1eb574650f
commit
2d21514ac0
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@
|
|||
using namespace Harp;
|
||||
using namespace std;
|
||||
|
||||
// Make it easy for autotools-based build systems to detect this library.
|
||||
extern "C" {
|
||||
int harplib_present = 1;
|
||||
};
|
||||
|
||||
void Harp::wordToBytes(Byte *b, Word_u w, Size wordSize) {
|
||||
while (wordSize--) {
|
||||
*(b++) = w & 0xff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue