Fix unresolved symbols in src/constraint.cpp when building libslvs.

pull/3/head
whitequark 2015-03-17 18:01:49 +03:00
parent ba8202d54a
commit 5894efcfe5
1 changed files with 5 additions and 5 deletions

View File

@ -52,6 +52,8 @@ char *Constraint::DescriptionString(void) {
return ret; return ret;
} }
#ifndef LIBRARY
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// Delete all constraints with the specified type, entityA, ptA. We use this // Delete all constraints with the specified type, entityA, ptA. We use this
// when auto-removing constraints that would become redundant. // when auto-removing constraints that would become redundant.
@ -112,8 +114,6 @@ void Constraint::ConstrainCoincident(hEntity ptA, hEntity ptB) {
Entity::NO_ENTITY, Entity::NO_ENTITY, false, false); Entity::NO_ENTITY, Entity::NO_ENTITY, false, false);
} }
#ifndef LIBRARY
void Constraint::MenuConstrain(int id) { void Constraint::MenuConstrain(int id) {
Constraint c; Constraint c;
ZERO(&c); ZERO(&c);