From 8c6c56d9e6ea6f6f81793f786970966a5cade35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 8 Jun 2009 07:14:53 +0000 Subject: complain if the hexloader is being used but has been compiled without dlopen/dll support svn path=/trunk/externals/loaders/hexloader/; revision=11711 --- hexloader.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hexloader.c b/hexloader.c index 48c0c35..f11e722 100644 --- a/hexloader.c +++ b/hexloader.c @@ -1,4 +1,6 @@ -/* Copyright (c) 2007 IOhannes m zmölnig @ IEM +/* + * hexloader + * Copyright (c) 2007-2009 IOhannes m zmölnig @ IEM * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," that comes with Pd. */ @@ -545,6 +547,8 @@ static int hexloader_doload(char*filename, char*setupfun) { return (0); } makeout = (t_hexloader_setup)GetProcAddress(ntdll, setupfun); +#else + error("alas! somebody (you?) has compiled [hexloader] without support for loading externals...how should i load?"); #endif if (!makeout) -- cgit v1.2.1