Skip to content

Commit

Permalink
fixed gcc warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvisscher committed Dec 16, 2015
1 parent c11126c commit 9e8c206
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bsp/include/bsp/bspClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class BSP
BSP_FORCEINLINE uint32_t &ProcId()
{
//static thread_local uint32_t gPID = 0xdeadbeef;
BSP_TLS static uint32_t gPID = 0xdeadbeef;
static BSP_TLS uint32_t gPID = 0xdeadbeef;

return gPID;
}
Expand Down
4 changes: 2 additions & 2 deletions bsp/include/bsp/stackAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* THE SOFTWARE.
*/
#pragma once
#ifndef __STACKALLOCATOR_H__
#define __STACKALLOCATOR_H__
#ifndef __BSPLIB_STACKALLOCATOR_H__
#define __BSPLIB_STACKALLOCATOR_H__

#include "util.h"

Expand Down

0 comments on commit 9e8c206

Please sign in to comment.