build fix

This commit is contained in:
aliaspider 2014-11-24 08:56:13 +01:00
parent 278ae64eae
commit a91cff15fb
2 changed files with 5 additions and 1 deletions

View File

@ -242,7 +242,7 @@ all: $(TARGET)
ifeq ($(DEBUG),1)
FLAGS += -O0 -g -DDEBUG
else
FLAGS += -O3 -g -DNDEBUG
FLAGS += -O3 -DNDEBUG
endif
LDFLAGS += $(fpic) $(SHARED)

View File

@ -19,6 +19,10 @@ details. You should have received a copy of the GNU Lesser General Public
License along with this module; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */
#ifndef ULLONG_MAX
#define ULLONG_MAX (~0ULL)
#endif
void Blip_Buffer_init(Blip_Buffer* bbuf)
{
bbuf->factor = (blip_u64)ULLONG_MAX;