mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Add helpful error messages
This commit is contained in:
parent
863c704684
commit
4bbc16e2cc
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,12 @@
|
||||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||||
|
#ifndef __APPLE__
|
||||||
|
#error "ape/ape-m1.c is for apple silicon. chances you want ape/loader.c"
|
||||||
|
#endif
|
||||||
|
#ifndef __aarch64__
|
||||||
|
#error "ape/ape-m1.c is for apple silicon; you want: make o//ape/ape.macho"
|
||||||
|
#endif
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <dispatch/dispatch.h>
|
#include <dispatch/dispatch.h>
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
Loading…
Reference in a new issue