| Subject: | Test for availability of __sync builtins |
|---|---|
| From: | Luke D <ldalessandro@xxxxxxxxx> |
| Date: | Wed, 23 Jul 2008 05:21:42 -0700 (PDT) |
| Newsgroups: | gnu.gcc.help |
Does anyone have a good way to test for the availability of __sync_* builtins on gcc 4.0+? I can't seem to find a defined macro, or even a combination of macros that let me switch between using the builtins or custom atomic ops code. Luke |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | What have I done wrong?, Pilcrow |
|---|---|
| Next by Date: | Re: Retrieving function declarations, Li Qun |
| Previous by Thread: | What have I done wrong?, Pilcrow |
| Next by Thread: | inconsistent macro behavior, RezaRob |
| Indexes: | [Date] [Thread] [Top] [All Lists] |