Skip to content

Commit

Permalink
Fix Linux build by putting Windows-specific stuff in #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
nigels-com committed Aug 21, 2007
1 parent d866b44 commit 0e66e88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/GL/glui.h
Expand Up @@ -1711,9 +1711,11 @@ class GLUIAPI GLUI_CommandLine : public GLUI_EditText

enum { HIST_SIZE = 100 };

#ifdef _MSC_VER
// Explicit template instantiation needed for dll
template class GLUIAPI std::allocator<GLUI_String>;
template class GLUIAPI std::vector<GLUI_String, std::allocator<GLUI_String> >;
#endif

std::vector<GLUI_String> hist_list;
int curr_hist;
Expand Down

0 comments on commit 0e66e88

Please sign in to comment.