Skip to content

Commit

Permalink
Wrapped GNU_SOURCE in ifndef
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Sep 21, 2017
1 parent d073622 commit 37bb857
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mcpwm_foc.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#define _GNU_SOURCE /* for sincosf */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif

#include "mcpwm_foc.h"
#include "mc_interface.h"
Expand Down

0 comments on commit 37bb857

Please sign in to comment.